开发者

Hide UIPageControl

开发者 https://www.devze.com 2023-01-05 04:49 出处:网络
i want to hide the bar of the UIPageControl, because i want to implement a pagination with swipe gesture function so I don\'t need to display the dot bar. If I set hidden=YES there will remain a black

i want to hide the bar of the UIPageControl, because i want to implement a pagination with swipe gesture function so I don't need to display the dot bar. If I set hidden=YES there will remain a black block with size of the UIPageControl. Is there a way to hide the UIPageControl Bar completely?

Thanks for your answer开发者_开发技巧s.


There is a black box because there is no other view covering that area. Resize your other views and there will be content.

By the way, there is no way we can guess what project or page control you are talking about.

If you don't need a page control, then you shouldn't add it in the first place. It is still there, even if hidden.

0

精彩评论

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