Changing Title of Modal During init Results in Visible Title Change

Originator:sethfri
Number:rdar://19726696 Date Originated:2/4/2015
Status:Open Resolved:No
Product:iOS SDK Product Version:8.2 beta 5
Classification:UI/Usability Reproducible:Always
 
Summary:
I present an interface controller modally. In the modal's init method, I call setTitle:. However, while the modal is being presented, I see "Cancel" as the title before quickly being switched to what I've set it to.

Video attached.

Steps to Reproduce:
1. Set up two interface controllers, and have one present the other modally.
2. In the modally presented controller, call setTitle: in the init method
3. There is a visible title change as the controller is being presented

Expected Results:
The interface controller should be presented with my custom title, as I'm setting it way before even willActivate: is called.

Actual Results:
The interface controller is presented with the default title and quickly switches to my custom title.

Version:
iOS 8.2 beta 5

Notes:


Configuration:
Watch Simulator

Attachments:
'bug.mov' was successfully uploaded.

Comments


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!