So, after much experimentation I've come to the conclusion that there is no way to programmatically set the view title for a modal view with a navigation bar. At least, it doesn't work for me in the iPhone simulator. I've tried every permutation I can think of and nothing works. I've even tried different iPhone SDK versions and it doesn't work in any of them. I presume that this is a bug, or that there must be some really arcane way of setting the title.
Has no-one else run into this problem? I would love it if someone could prove me wrong on this one.
I tried to attach a very simple demo app that demonstrates the problem I'm having, but it exceeds the max. file size allowed.
|