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
1.1 C
New York
Monday, February 3, 2025

ios – UIAlertController as little one view controller not responding to faucet


So I’ve a UIAlertController which must be introduced on high of one other view controller, so a baby view controller. I can get the kid view controller to show on high of the father or mother no downside, however I am unable to get the alert buttons to reply after I carry this little one view controller to the entrance.

    UIAlertController* alert = [AlertHelper createAlertWithTitle:title
                                                                 message:message
                                                                 cancelButton:nil
                                                                 continueButtonText:Ok
                                                                 continueAction:nil
                                                                 cancelAction:nil];
                        
    alert.view.translatesAutoresizingMaskIntoConstraints = false;

    [self addChildViewController:alert];
    alert.view.body = self.view.bounds;
    [self.view addSubview:alert.view];
    [alert didMoveToParentViewController:self];
    [alert.view.centerXAnchor constraintEqualToAnchor:self.view.centerXAnchor].lively = YES;
    [alert.view.centerYAnchor constraintEqualToAnchor:self.view.centerYAnchor].lively = YES;

Related Articles

Social Media Auto Publish Powered By : XYZScripts.com