uiviewcontroller

Button to instanciate ViewController is not working after hiding it

折月煮酒 提交于 2020-12-06 06:51:05
问题 I have this very weird problem that I just found out... I have this button which is triggering this function : @objc func vergessenTapped() { let forgotPasswordVC = self.storyboard?.instantiateViewController(withIdentifier: "ForgotPasswordVC") as! ForgotPasswordVC forgotPasswordVC.email = self.emailTextField.text! self.present(forgotPasswordVC, animated: true, completion: nil) } I also have these function which hide / show the button above: // delegate Methode für eye-Button func

iOS 13 status bar hidden for all iPhone types in landscape

陌路散爱 提交于 2020-12-02 18:29:03
问题 Our app has overridden prefersStatusBarHidden in its main view controller to return false for all situations. However, I'm getting different results while testing iOS 13. When using the iOS 13 simulators in Xcode 11 (beta 6), they all hide the status bar (this is consistent with Apple's UIViewController documentation). With the iOS 12 simulators, the X-model iPhones are hiding the status bar in landscape, but the other iPhone types are showing the status bar. (Also to note, the