iphone - UIInterfaceOrientation method not working -


call not going uiinterfaceorientation delegate method please

here code

- (bool) shouldautorotatetointerfaceorientation:(uiinterfaceorientation)tointerfaceorientation {     return yes; }  - (void)willrotatetointerfaceorientation:(uiinterfaceorientation)tointerfaceorientation duration:(nstimeinterval)duration {     if (tointerfaceorientation == uiinterfaceorientationportrait)     {         nslog(@"potrait");     }     else     {      } } 

is view controller inside view controller?

look technical q&a qa1688 why won't uiviewcontroller rotate device? in developer documentation

that give hint of why isn't working in case.


Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

asp.net mvc 3 - Unexpected "foreach" keyword after "@" character -