Question

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 should be done?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top