WatchKit: Want to set controller title prior to push

Originator:futuretap
Number:rdar://19220169 Date Originated:11-Dec-2014 05:21 PM
Status:Duplicate/19195084/Open Resolved:
Product:iOS SDK Product Version:8.2 beta 2
Classification:Enhancement Reproducible:Always
 
The title of a WKInterfaceController can be set programmatically using -setTitle: or via the Storyboard.

However, the Storyboard title always shows up shortly before -setTitle: can be executed. I tried to use -setTitle: in -init, -initWithContext: (despite being deprecated) and -willActivate. In each case, it’s already too late and the storyboard title shows up first.

Of course I can leave the title in the storyboard empty but then I get an ugly non-animated title change after the push animation has already finished.

So, I’d expect that setting the title in -init would display it right away without any glitch.

Comments

+1. This has always annoyed me about storyboards.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!