I'd like to design my views quietly in Interface Builder, then to be able to display them dynamically as an UIPopoverController.
I found this precious tutorial by Ray Wenderlich but I cannot extend it to my needs.
Anyone could help me?
I'd like to design my views quietly in Interface Builder, then to be able to display them dynamically as an UIPopoverController.
I found this precious tutorial by Ray Wenderlich but I cannot extend it to my needs.
Anyone could help me?
Here is how I usually do it: let's say I have a parent view controller in which I want to present the popover. I declare a popover controller as a property for that VC ( @property (nonatomic, retain) UIPopoverController* popOverController; )
The code for presenting a popover with a new view controller, let's call it ViewController2, would be this one
That's pretty much it... If you run into any problems, I'll try to give you more infos.
P.S. I am not claiming this is the best way to do it, I have less than an year of experience with iOs, but that's how we usually do it where I work