ios - iOS5: Best method of forcing UI orientation programmatically -
[i know has been done death, , i'd ask follow questions on existing question not not having enough stackoverflow points make one:(]
i'm after app store valid way of forcing existing ui re-orientate without having destroy main viewcontroller
or view
. work in fullscreen mode, i'm assuming can't use of toolbar approaches quoted. i'm interested in ios5.
for ios6 have solution based on answers in how change device orientation programmatically in ios 6. used solution includes forceportrait
, variation changed can supply required orientation parameter.
for ios5 have experimented suggestion of:
[uidevice currentdevice] performselector:nsselectorfromstring(@"setorientation:") withobject:(id)uiinterfaceorientationportrait];
from how set device (ui) orientation programmatically?. works i'm worried rejected app store (complete no no us).
has used on has app store approval and/or got better suggestion?
check out: force rotate uiviewcontroller.
maybe work. hackish.
Comments
Post a Comment