show_view_controller¶
- pyto_ui.show_view_controller(view_controller: UIViewController, new_scene: bool = True)¶
Shows an UIKit View Controller. This function must be called from the main thread.
See Objective-C and mainthread.
- Parameters:
view_controller – UIViewController.
new_scene – If
True, the view controller will be displayed in a new scene if possible.