iphone - shouldAutorotateToInterfaceOrientation not working in an universal app -
i have written universal application , have returned yes in "shouldautorotatetointerfaceorientation" method. method getting called whenever change orientation of iphone or ipad view not rotate. have set autoresizessubviews
this due because other innerview not allow/set orientation change. make things clear, when rotate device, method shouldautorotatetointerfaceorientation
called every viewcontroller hangs on view tree. if of them returns no, interface won't change.
for example, if have tabbarcontroller viewcontrollers a, b, c , d, method called of them, doesn't matter if being shown right now.
so sure have changed in views.
Comments
Post a Comment