TTThumbView/TTPhotoView no autorotation

Posted by ludo on Stack Overflow See other posts from Stack Overflow or by ludo
Published on 2010-02-12T04:25:55Z Indexed on 2010/03/24 9:53 UTC
Read the original article Hit count: 292

Filed under:
|
|

Hi,

In my app I try to use the TTphotoView, so in a ViewController I push the TTphotoView with my navigationController like this:



if(self.photoViewController == nil {

  PhotoViewController *viewController = [[PhotoViewController alloc] init];
  self.photoViewController = viewController;
  viewController.hidesBottomBarWhenPushed = YES;
  [viewController release];
}
[self.navigationController pushViewController:self.photoViewController animated:YES];
[self.navigationController  dismissModalViewControllerAnimated:YES]


the problem is when the user rotate the device on the PhotoViewController nothing happen.

EDIT : I can't believe people didn't have the same problem. If someone use the photoView in his application with his own navigation and not the TTNavigation can he tell me how did he push the ViewController?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c