开发者

UIPageControl : How to dynamically load controls in View in iPhone SDK?

开发者 https://www.devze.com 2023-02-01 20:24 出处:网络
I am making an iPhone app which has a requirement to implement the UIPageControl. I have referred to many tutorials but all of them have added static data to view. I want to dynamically add buttons t

I am making an iPhone app which has a requirement to implement the UIPageControl.

I have referred to many tutorials but all of them have added static data to view. I want to dynamically add buttons to the view when the new view is swiped in.

What s开发者_如何学JAVAhould be done?


You can dynamically add new items to UIView, using addSubview/removeFromSuperview methods.

0

精彩评论

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

关注公众号