In UIKit, popup mainly can be:
* popup an alert using UIAlertController
* popup action sheet using UIAlertController. For more details, check this: Present action sheet in UIKit and SwiftUI
* popup a custom view/viewController
The following will demonstrate how to present a custom view/viewController by creating a custom popup by