How to add Bar Button in navigation bar without navigation controller.
问题 I am new to iOS development.I have create a navigation bar in my iPad application view.I don't need navigation controller that's why i have added only navigation bar. Now i want to add button in that navigation bar.I tried a lot but no success. Is it possible to add only navigation bar with button ? If yes then suggest me some sample code. "i don't have navigation controller or need it. i just want to add navigation bar in only one view." Bellow is my code which i write for adding navigation