I am facing a very specific problem: a fullscreen style modal stops the customised barStyle working properly.
In my app,
rootViewController presents a Level-2 viewController
Level-2 viewController pushes a Level-3 viewController
Level-3 viewController presents a fullScreen model
(rootVC L2 L3 fullScreen)
I want the barStyle in L3 to be dark, and light in L2.
So in the viewWillAppear of L2 and L3, I am using
self.navigationController?.navigationBar.barStyle = .default
and
self.navigationController?.navigationBar.barStyle = .black
The barStyle works as expected in this flow
rootVC L2 L3 L2
but not in
rootVC L2 L3 fullScreen modal L3 L2
when back to L2, the barStyle stays dark, seems this line doesn't work anymorenavigationBar.barStyle = .default
A minimum demo app is here: Demo - https://github.com/Sylvia-YiyinShen/DebugStatusBarDemo
Could anyone please shed some light? Is this a bug?
Post
Replies
Boosts
Views
Activity
According to release notes, voice over recognition is introduced in iOS 14.
But I could not find it anymore in Settings, so I am not able to turn off image recognition.
Could anyone tell me why?
Seems, on iOS 14.5 VoiceOver no longer focus on navigation bar title or navigation bar back button. By default, it focuses on the first item below the navbar, and it is happening everywhere not just in a single app. e.g. Settings WIFI or Settings General
So can we treat it as an intended change? a standard default behaviour Apple suggests?
Could anyone help to share any docs that explain the idea behind why this change comes?
Thanks so much.