London Escorts sunderland escorts 1v1.lol unblocked yohoho 76 https://www.symbaloo.com/mix/yohoho?lang=EN yohoho https://www.symbaloo.com/mix/agariounblockedpvp https://yohoho-io.app/ https://www.symbaloo.com/mix/agariounblockedschool1?lang=EN
2.2 C
New York
Saturday, February 1, 2025

ios – Loading a UIKit storyboard into Flutter with UiKitView has unresponsive buttons


I’m following Flutters documentation nearly precisely that they put collectively right here.

The distinction is I’m making an attempt to load in a storyboard with a view controller (I do know subsequent to nothing about native IOS Improvement). I shall be creating a fairly primary display screen that faucets into some native options and want to use a storyboard to create the UI.

You may see the storyboard right here with the view controller and button. Once I run this in flutter I get the “view loaded: non-obligatory button stuff” print to console so I do know that the button will not be null. Nevertheless tapping the button doesn’t name the buttonPressed methodology. I held management and drug it into my controller and am fairly certain it’s linked appropriately. The view additionally has enabled consumer interactions. I’m misplaced on what I could also be doing mistaken to permit the interplay right here.

enter image description here

init(
    body: CGRect,
    viewIdentifier viewId: Int64,
    arguments args: Any?,
    binaryMessenger messenger: FlutterBinaryMessenger?
) {
    _view = UIView()
    tremendous.init()
    let storyboard = UIStoryboard.init(identify: "playground", bundle: Bundle.init(for: PlaygroundViewController.self))
    let controller = storyboard.instantiateViewController(withIdentifier: "playground") as! PlaygroundViewController
    _view = controller.view
}

Related Articles

Social Media Auto Publish Powered By : XYZScripts.com