It's stupid simple now: (in QML) visibility: Window.FullScreen I don't even need my old iOS 10 hacks! *so happy*
> Sent: Tuesday, November 19, 2019 at 12:06 PM > From: "Jason H" <jh...@gmx.com> > To: "interestqt-project.org" <interest@qt-project.org> > Subject: [Interest] Full Screen on iPhone 11/iOS 13 > > Yet again I find that apple changed how to get full screen. I had it working > for iOS 10, but 13 is different. > > Does anyone know what I need to do to get my app full-screen again? > Specifically w.r.t. what it takes for a Qt app. I've tried a variety of > additions: > > @interface QIOSViewController : UIViewController > @end > @interface QIOSViewController (CustomEdges) > - (UIRectEdge)preferredScreenEdgesDeferringSystemGestures; > - (UIRectEdge) edgesForExtendedLayout; > - (void)viewDidLoad; > @end > @implementation QIOSViewController (CustomEdges) > - (UIRectEdge)preferredScreenEdgesDeferringSystemGestures { > return UIRectEdgeAll; > } > - (UIRectEdge) edgesForExtendedLayout > { > return UIRectEdgeAll; > } > > - (void)viewDidLoad { > [super viewDidLoad]; > ... > [self setWantsFullScreenLayout:YES]; > [self setModalPresentationStyle: UIModalPresentationFullScreen]; > [self setNeedsStatusBarAppearanceUpdate]; > ... > } > > But to no avail. > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest > _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest