ALL BUSINESS
COMIDA
DIRECTORIES
ENTERTAINMENT
FINER THINGS
FREE CREATOR TOOLS
HEALTH
MARKETPLACE
MEMBER's ONLY
MONEY MATTER$
MOTIVATIONAL
NEWS & WEATHER
TECHNOLOGIA
TV NETWORKS
VIDEOS
VOTE USA 2026/2028
INVESTOR RELATIONS
IN DEV FOR 2025
Posted by - Latinos MediaSyndication -
on - January 7, 2024 -
Filed in - Technology -
-
287 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?