Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道如何为 UINavigationController 后退按钮使用图标而不是文本?
替代文字 http://www.img-hosting.de/bilder/24505iPhoneSimulator2png
试试这个:
UIBarItem *backBar = [[UIBarButtonItem alloc] initWithImage:yourImage style:UIBarButtonItemStyleDone target:nil action:nil]; self.navigationItem.backBarButtonItem = backBar; [backBar release];
如果您需要更详细的内容,也可以使用 initWithCustomView