I want to put textview on navigation bar for setting title at runtime through the simulator in objective-c
i want to put the textview on navigation bar to set the title by user through th开发者_如何学Goe simulator at the run time.
Take a look UINavigationItem
's titleView
property - you can place any view/control there, e.g. a UITextField
.
I think you'll find that there exists a title property you can set already, and you don't need a textview. If you post some code showing the problem, someone might be able to give a more specific answer.
精彩评论