How to implement modal popup on iPad? How to facebook screen using sharekit?

Hi, I want to implement the view of ModalPopup on an iPad. How can i implement? I don't know anything about this. Can someone give me some recommendations? A small screen, such as a facebook screen using sharekit. Thanks.

-one
source share
2 answers

Follow the blog tutorial below to help you.

Using PopoverView in iPad App Development

+5
source

Note. The accepted answer about popovers is correct if you want a popover. But you may need only a modal window, not a window with an arrow! Then this is the solution.

To implement a popup in your own ViewController, create a ViewController in your storyboard, then use segue with the following properties:

enter image description here

This causes your View Controller to display modally. To change the runtime size of your view controller, check the following view controller settings:

enter image description here

Another way to implement a user dialog is to use the UIAlertController . This is pretty flexible these days, but it's still pretty limited. if you want to use your own design and several elements, it is better to use a custom UIViewController.

Hope this helps.

+1
source

All Articles