清雨小竹

zzzili@qq.com

RightBtn
-(void)SetRightBtn
{//返回按钮
//    UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(0,0,44,44)];
//    [button setBackgroundImage:[UIImage imageNamed:@"kqls.png"] forState:UIControlStateNormal];
//    [button addTarget:self action:@selector(ShowKQlist:) forControlEvents:UIControlEventTouchDown];
//    UIBarButtonItem *rightBarButton = [[UIBarButtonItem alloc] initWithCustomView:button];self.navigationItem.rightBarButtonItem = rightBarButton;
//    [rightBarButton release];
    
    UIBarButtonItem *rightBarButton = [[UIBarButtonItem alloc]initWithTitle:@"历史" style:UIBarButtonItemStylePlain target:self action:@selector(ShowKQlist:)];
    self.navigationItem.rightBarButtonItem = rightBarButton;
    
}

阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zzzili/article/details/17092133
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

RightBtn

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭