How do I present a pop-up with a small size?

How do I show a pop up window to accept data entry without using an alert controller?


My idea is to present a view controller as a popover, but I don't know how to manipulate the size.


Can someone help me?

You can't present a view controller as a popover, at least not in the traditional sense, w/iOS, as you're working with one main window.


Either make do w/a uialertcontroller, use a splitview, or commit to a regular vc.


References:

https://developer.apple.com/library/content/documentation/WindowsViews/Conceptual/ViewControllerCatalog/Chapters/SplitViewControllers.html

https://developer.apple.com/ios/human-interface-guidelines/views/action-sheets/

How do I present a pop-up with a small size?
 
 
Q