I am experiencing weird bug on iOS 10.0 Simulator.
I am using 8.0 beta (8S128d).
I have some places in my app where I use WKWebView in order to present a web page. For some reason, first (and only first) transition to those views makes navigation bar black. I can see the transition starting and freezing for a moment, then a black navigation bar appears. When I go back and go to that view again, everything works.
Related
At app startup, on iOS 13, setting my UITabBarController's selectedIndex or selectedViewController does show the correct view controller, but all tab icons remain grey.
I do this in AppDelegate and it's been working for years and still is working fine on iOS 12.
Even after setting the selected tab again after a seconds long delay (well after the app and UI are up and running), all icons remain grey.
All calls are done on the main thread.
Then, after a tap on a tab it turns blue and everything is fine.
Is this a bug or a feature of iOS 13 or am I missing something?
I've been developing an app for the past few months, and I was always testing on my iOS 11 device and simulators. Since we are close to public release, I decided to test the app on iOS 9 and 10 simulators to make sure everything is ok.
To my disapointment, the core element of the app is broken: Its an app that displays a list of articles in tableviews, using a TabBarController. More article categories can be accessed through the side menu. However, when I display a VC form the side menu, for which I create the VC, embed it in a NavigationController and then add it in the TabBarController and make it the selected tab, the NavBar is under the status bar and the tableview's content insets extend under the tabBar, which also breaks my TabBar and creates a whole lot of other problems.
The weird thing is that after navigating to the next VC, the whole statusbar situation is fixed, so I'm guessing something is initially off with the NavBar that gets fixed once a second VC is pushed.
Does anyone have any idea on how to fix this bug? On iOS 11 everything works perfectly, while on iOS 9 and 10 only when a new VC is pushed, the error is fixed. Please note that I'm not using a UITableViewController but a ViewCOntroller with an embeded TableView, since I also need to add othr views at the bottom of my view controller.
I am working on an application which needs to be supported from iOS 10. I see the strange issue with navigation bars with Xcode 9.2 and 9.3. I added a view controller on the storyboard and when executing the application on iPhone 5 with iOS 10, I don't get to see the navigation bars, but the same is working on another device with iOS 11. But I can see the navigation bar on storyboards when selected topbar as transculent navigation bar and also embedded in a navigation controller. So what might be the issue?
After updating from Xcode 8 to Xcode 9 I've noticed this very strange behaviour in the navigation bar only on devices running iOS 11.
This bug appears after navigating from my left side menu that show the menu controller you choose modally with a default presentation (That is Full Screen)
I've posted a video here: https://youtu.be/mgjlbkMi-N8
It seems a bug of the compilation on Xcode 9.
Tryed also on real device iPad Pro with iOS 11.
The same code compiled with Xcode 8.3.3 works as expected, while compiled with Xcode 9 exposes the issue.
I've put a playground code here: https://github.com/shadowsheep1/xcode9navigationissue
With already a workaround: set the presentation to Over Full Screen.
But that has no meaning this is not the exptected operation.
Once the navigation bar is broken, is broken for every navigation controller in the App.
Any idea?
EDIT:
Apple Developer Relations January 23 2018, 11:13 PM
There are no plans
to address this based on the following:
You are creating a detached presentation, which is causing multiple
navigation bars to be placed in the view hierarchy. The navigation bar
that is seen is not the one where pushes are happening, thus the error
in display. I don’t know why this didn’t happen on iOS 10, but it was
an invalid configuration there as well.
We would recommend that you use a proper view controller container to
implement this menu, rather than what seems to be done (the
IS_SlideMenu_View being placed directly in the window).
I have the same problem with regular UIModalTransitionStyleCoverVertical.
I've solved it by setting UIModalPresentationOverFullScreen or UIModalPresentationOverCurrentContext.
Possibly it also helps you.
Example for navigation that is presented modally:
if (#available(iOS 11.0, *)) {
navController.modalPresentationStyle = UIModalPresentationOverFullScreen;
}
I have an iOS app with interactive pop gesture enabled by default, however when I play with it sometimes it comes to corrupt navigation bar but popping by tap on back buttons works good, any ideas?