IOS新闻APP

2014-12-08 0 794
IOS新闻APP
- (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;
}

遇见资源网 objective-c IOS新闻APP http://www.ox520.com/15229.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务