有人知道如何使用uinavigationcontroller后退按钮的图标而不是文本吗?
alt text 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。