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

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -