UiSplitViewController doesn't autorotate -


i have run problem. ipad app somehow preventing ipad auto-rotating. app loads uisplitview both of view controllers returning yes shouldautorotatetointerfaceorientation:. have set info.plist include "supported interface orientations" key 4 orientations. when run app, however, rotating device not rotate splitview (even though receiving uideviceorientationdidchangenotification). in addition, when exit app in different orientation started in ipad home screen doesn't autorotate correct view until rotate again without app running.... ideas appreciated....

uisplitviewcontroller 1 of temperamental view controller subclasses i've ever had use. in order work "perfectly", must exist single root view in application's window. can, however, around trickery -- in case, needed uitabbarcontroller @ least 2 distinct uisplitviewcontrollers view controllers -- have take care of weird cases involving rotation , uisplitviewcontrollerdelegate callbacks not firing.

here's hoping apple makes uisplitviewcontroller more compatible other uikit components in future...


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -