Thursday, 20 March 2014

Autorotate


i had app rotating controller had uiimage subview.

set following yes.

code:
- (bool)shouldautorotatetointerfaceorientation:(uiinterfaceorientation)interfaceorientation {     return yes; } 
this required rotation work, in ios5.

since adding tab bar controller, rotation has stopped.

in storyboard, have set attributes tab bar not display when controller pushed imageviewcontroller. have enabled full screen attribute. still no rotation.

have gone wrong here?
 

got it

found answer.

if have tab bar, need set auto rotate on in view controllers of both tabs.
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment