iOSDev1987
iOSDev1987

Reputation: 110

Resize the pagecontrolview of detailViewController when i turn iPad to Portrait mode in UISplitViewController

I am working on UISplitViewController, I have a pageController in my detail view of width 700, I have added some imageViews on the pageController, when i turn my iPad to portrait mode how to resize the pageController so that the even the imageViews should fit to width 768.

Upvotes: 0

Views: 142

Answers (1)

Smart Developer
Smart Developer

Reputation: 72

You can be use the autoresizing mask. And when you properly use autoresizingMask then that view controller will be resize automatically when you change the orientation.

Let me know if this answer help you ..

Upvotes: 1

Related Questions