ALL BUSINESS
COMIDA
DIRECTORIES
EDUCATIONAL
ENTERTAINMENT
FASHION TIPS
FINER THINGS
FREE CREATOR TOOLS
HEALTH
MARKETPLACE
MEMBER's ONLY
MONEY MATTER$
MOTIVATIONAL
NEWS & WEATHER
TECHNOLOGIA
TELEVISION NETWORKS
USA VOTES 2024
VIDEOS
INVESTOR RELATIONS
IN DEVELOPMENT
Posted by - Latinos MediaSyndication -
on - Jan 7 -
Filed in - Technology -
-
231 Views - 0 Comments - 0 Likes - 0 Reviews
I have a ViewController featuring a large title. I want the back button to have a minimal display mode, but this causes the large title animation to become balky. This issue occurs when the view appears on the screen under the popped view controller.
Here is the code with the proper animation for the title (the title apears smoothly as if from the secound view controller nav bar)
class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() navigationController?.navigationBar.prefersLargeTitles = true title = "Title" navigationItem.backButtonDisplayMode = .minimal } }
And this is the problematic animation (the title apears as if it comes from the distance of the first view controller navigation bar).
class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() navigationController?.navigationBar.prefersLargeTitles = true title = "Title" navigationItem.backButtonDisplayMode = .minimal } }
Is there something that can be done, so I'll have a minimal backButtonDisplayMode, but the default animation?