iOS.Lover
iOS.Lover

Reputation: 6051

add a view in UIPopoverController

I have created an UIView which has several controllers , is there any possible way to add this view in UIPopoverController because UIPopoverController just support ViewController !

Upvotes: 0

Views: 645

Answers (1)

Stavash
Stavash

Reputation: 14304

Create a UIViewController and assign your UIView to be it's .view property. Then you can pass it along to the UIPopoverController while creating it.

Upvotes: 2

Related Questions