- 博客(9)
- 资源 (5)
- 收藏
- 关注
原创 Property with 'retain(or strong) attribute must be of object type
原话的理解,在使用retainak
2014-08-12 12:36:50
9745
1
原创 在使用storyboard时,如何更改UITabBar的样式呢?
在IOS7中,使用storyboard添加uitabbarcontroller后,样式无法更改,ldyw
2014-07-11 11:34:29
1436
原创 在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
1264
原创 IOS7 检测版本更新并跳转到app store下载页
-(void)checkVersion { //验证版本,如果不是最新版本,则跳到最新版本下载地址. NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary]; NSString *appVersion = [infoDictionary objectForKey:@"CFBundleShor
2014-07-11 11:06:25
611
原创 IOS7有UINavigation时隐藏当前ViewController的UITabBar.
self.hidesBottomBarWhenPushed = YES; [self.navigationController pushViewController:validateControl animated:YES]; self.hidesBottomBarWhenPushed = NO;
2014-07-11 11:01:16
361
转载 UIImageView实现图片水平翻转
UIImageView *_imageView = [[[UIImageView alloc] initWithFrame:CGRectMake(30, 30, 200, 300)] autorelease]; _imageView.backgroundColor = [UIColor clearColor]; _imageView.image = [UIImage imageNa
2014-06-17 11:17:13
994
原创 IOS 7修改UITabbar背景图片、UITabBarItem图片以及UITabBarItem的文字颜色.
IOS7中常常会遇到这样的总是UIt
2014-05-27 17:48:54
883
原创 IOS 截取指定区域的图像
首先通过 UIGraphicsBeginImageContext(self.view.frame.size); //currentView 当前的view [self.view.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurrentImag
2014-05-22 10:48:28
1472
转载 iphone UIImageWriteToSavedPhotosAlbum 保存图片
有时候你的应用需要将应用中的图片保存到用户iPhone或者iTouch的相册中。 可以使用UIKit的这个类方法来完成。 1 2 3 4 5 6 void UIImageWriteToSavedPhotosAlbum ( UIImage *image, id completionTarget, SEL completion
2014-05-22 10:30:49
376
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人