How to implement modal popup view in iPad? Like facebook screen using sharekit?

独自空忆成欢 提交于 2019-12-23 06:14:59

问题


Hi i want to implement ModalPopup view in iPad. How can i implement ? I do not know anything about that. Can anybody give me some guidelines? A small screen like facebook screen using sharekit. Thanks.


回答1:


Go through the below blog tutorial,sure will help you.

Using the PopoverView in iPad App Development




回答2:


Note: Accepted answer about popovers is correct if you want a popover. But you may want just modal window, not the window with an arrow! Then this is solution.

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

This causes showing your View Controller modally. To change run-time size of your View Controller, check the following setting of the View Controller:

Another way to implement custom dialog is to use UIAlertController. This is pretty flexible nowadays, but it's still pretty limited. if you want to use custom design and multiple elements, better to use custom UIViewController.

Hope it helps.



来源:https://stackoverflow.com/questions/5769035/how-to-implement-modal-popup-view-in-ipad-like-facebook-screen-using-sharekit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!