IOS新闻APP
- 作者: 多遗憾我错过你
- 来源: 51数据库
- 2022-08-17
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; if (self) { // Custom initialization UIBarButtonItem *refresh = [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh target:self action:@selector(refreshData:)]; refresh.tintColor = [UIColor whiteColor]; self.navigationItem.rightBarButtonItem = refresh; } return self; }
推荐阅读