iphone - UI ScrollView Hiding in iPad Landscape mode -


i have added 1 uiscrollview , 2 uiimageview it. shows fine in potrait mode. hides in landscape mode. running xcode n simulator , implemented method - (bool)shouldautorotatetointerfaceorientation:(uiinterfaceorientation)interfaceorientation.

i new ipad programming , lil stuck. appreciate help.

- (bool)shouldautorotatetointerfaceorientation:(uiinterfaceorientation)interfaceorientation {      if(uiinterfaceorientationislandscape(interfaceorientation))     {         [self.view insertsubview:scrollview abovesubview:imageview];     }     else     {          [self.view insertsubview:imageview abovesubview:scrollview];     }      return yes; } 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -