简体   繁体   中英

Disabling Scrolling on NIPagingScrollView

i am using Nimbus kit for my app. I have different Page Scroll Views. Each Page have a button. when i click on the button i need to go to next page. for that i am using [self.pagingScrollView moveToNextAnimated:YES]; . It works fine. But i need to disable to horizontal scrolling of a page. NIPagingScrollView is a subclass of UIView, so i can't use a scrollEnabled property. How can i dsiable scrolling on NIPagingScrollView. I don't want a user to swipe next/previous of the screen.

Thanks,

您可以通过pagingScrollView上的pagingScrollView属性访问分页滚动视图。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM