iphone实现NavigationController 导航栏中的系统按钮
实现右边的书签按钮:

1 UIBarButtonItem *anotherButton = [[UIBarButtonItem alloc] 2 3 initWithBarButtonSystemItem:UIBarButtonSystemItemBookmarks target:self 4 5 action:@selector(methodtocall:) ]; 6 7 self.navigationItem.rightBarButtonItem = anotherButton; [anotherButton release]; 8 9 //由于本地视图会retain它,所以我们可以release了。 10
 
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号