![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ios
「已注销」
这个作者很懒,什么都没留下…
展开
-
在UIViewController页改变UITabBar的badge.
UITabBarController *root = self.tabBarController; UITabBarItem *item = root.tabBar.items[2]; if ([badges[@"sd_badge"] intValue]>0) { item.badgeValue = badges[@"sd_badge"];原创 2014-07-11 11:16:16 · 1201 阅读 · 0 评论 -
IOS7 检测版本更新并跳转到app store下载页
-(void)checkVersion{ //验证版本,如果不是最新版本,则跳到最新版本下载地址. NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary]; NSString *appVersion = [infoDictionary objectForKey:@"CFBundleShor原创 2014-07-11 11:06:25 · 570 阅读 · 0 评论 -
在使用storyboard时,如何更改UITabBar的样式呢?
在IOS7中,使用storyboard添加uitabbarcontroller后,样式无法更改,ldyw原创 2014-07-11 11:34:29 · 1387 阅读 · 0 评论 -
IOS7有UINavigation时隐藏当前ViewController的UITabBar.
self.hidesBottomBarWhenPushed = YES; [self.navigationController pushViewController:validateControl animated:YES]; self.hidesBottomBarWhenPushed = NO;原创 2014-07-11 11:01:16 · 310 阅读 · 0 评论 -
Property with 'retain(or strong) attribute must be of object type
原话的理解,在使用retainak原创 2014-08-12 12:36:50 · 9577 阅读 · 1 评论