摘要: 方法很简答,三行代码搞定: UIBarButtonItem *backBtn = [[UIBarButtonItem alloc] init]; backBtn.title = @"返回"; self.navigationItem.backBarButtonItem = backBtn; // 注意 阅读全文
posted @ 2020-07-20 11:42 mingruqi 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 更改 tabbar 字体颜色有两种方法: 第一种: [tabbarItem setTitleTextAttributes:@{NSForegroundColorAttributeName:selectColor} forState:UIControlStateSelected]; 此方法在 iOS 阅读全文
posted @ 2020-07-20 09:55 mingruqi 阅读(1241) 评论(0) 推荐(0) 编辑