UINavigationController

 


 

1.如何在Navigation上添加按钮 (如添加一个叉)

  UIBarButtonItem *barButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemStop target:self action:nil];

    barButton.tintColor = [UIColor purpleColor];

    self.navigationItem.leftBarButtonItem = barButton;

posted on 2015-08-25 23:13  puppyb2m  阅读(86)  评论(0编辑  收藏  举报

导航