上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: iOS8修改了位置设置里的内容,增加了一套状态(使用中可用/通常可用),所以以前的CLLcationManage的注册后, Delegate接口不响应了。 iOS8需要这么设置第一步 location = [[CLLocationManager alloc] init]; location.de... 阅读全文
posted @ 2014-12-23 12:10 苏糊 阅读(143) 评论(0) 推荐(1) 编辑
摘要: 设置tableView的viewForHeaderInSection跟tableview一起滑动self.tableView.tableHeaderView = topView; 阅读全文
posted @ 2014-11-27 16:59 苏糊 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 目前就能改leftBarButtonItem,rightBarButtonItem一样的颜色,打开plist文件加入View controller-based status bar appearance,将value改为no,在设置你想改的颜色self.navigationController.na... 阅读全文
posted @ 2014-11-25 14:03 苏糊 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 如题,加上这句就行 recordNav.tabBarItem.image = [[UIImage imageNamed:@"_0008_video"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; 阅读全文
posted @ 2014-11-21 14:19 苏糊 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 在iOS8系统下,UITabbar上的item自定义背景色和图片,push之后再pop回去会变成系统默认颜色-蓝色,本来设置的是绿色的;而且程序首次启动时也是系统默认的蓝色 UIImage *image=[UIImage imageNamed:@"xxxx"]; //设置选中时的图标 UIIm... 阅读全文
posted @ 2014-11-21 14:12 苏糊 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 将控制器关联上storyboard,并且以控制器的名称命名storyboard ID在跳转页面的时候这样写NextViewController *mvc = [self.storyboard instantiateViewControllerWithIdentifier:@"NextViewCont... 阅读全文
posted @ 2014-11-20 14:22 苏糊 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 如何快速正确的安装 Ruby, Rails 运行环境https://ruby-china.org/wiki/install_ruby_guideCocoaPods安装和使用教程http://code4app.com/article/cocoapods-install-usagehttp://www.... 阅读全文
posted @ 2014-11-18 16:43 苏糊 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 在iOS 7中,苹果引入了一个新的属性,叫做[UIViewController setEdgesForExtendedLayout:],它的默认值为UIRectEdgeAll。当你的容器是navigation controller时,默认的布局将从navigation bar的顶部开始。这就是为什么... 阅读全文
posted @ 2014-11-04 09:59 苏糊 阅读(620) 评论(0) 推荐(0) 编辑
摘要: 这个问题我弄了好久,最后发现在这个包里面就有把滤镜组合起来的用法,然后我就以360旋转喷血,你懂得首先在.h文件声明GPUImagePicture * staticPicture;GPUImageOutput * brightnessFilter; //亮度GPUImageOutput * co... 阅读全文
posted @ 2014-10-14 09:42 苏糊 阅读(2341) 评论(3) 推荐(2) 编辑
摘要: 原文地址http://blog.csdn.net/crazy_frog/article/details/8664108/// 添加所有的手势- (void) addGestureRecognizerToView:(UIView *)view{ // 旋转手势 UIRotationGest... 阅读全文
posted @ 2014-09-29 14:32 苏糊 阅读(288) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 下一页