开发者

UIPageControl in Landscape Orientation

开发者 https://www.devze.com 2023-01-26 17:43 出处:网络
I\'ve gone through the Apple\'s Sample Code using UIPageControl and ScrollView togther. I\'ve created the same using viewControllers instead of Views. Now when i change the orientation from Potrait to

I've gone through the Apple's Sample Code using UIPageControl and ScrollView togther. I've created the same using viewControllers instead of Views. Now when i change the orientation from Potrait to LandScape, the ScrollView changes its orientation but UIPageControl remain in sam开发者_StackOverflowe position :( and instead of changing page in horizontal Swipe,it changes the page in the Vertical swipe

I want the UIPageControl to change page on horizontal swipe and in LandScape mode.

is it possible??? :(


I got it now... :)

The UIPageControl app uses window.xib, I created a new app with the same code applied on the UIViewController and it worked..

Also dun forget to turn vertical bounce property to "NO", to make it slide horizontally..

:)

0

精彩评论

暂无评论...
验证码 换一张
取 消