- 博客(20)
- 资源 (10)
- 收藏
- 关注
转载 process launch failed: failed to get the task for process 7680
process launch failed :failed to get the task for process ***报这样错误的原因:使用真机测试时,在build setting ->code signing ->(code signing Identity)项里选择的不是IOS Developer(开发证书) 而是IOS Distribution (发布证书)把证书改过来重新调试就可以了
2016-07-29 20:12:19 420
原创 Could not find Developer Disk Image
Could not find Developer Disk Image真机调试的时候出现这种警告,说明xcode版本过低,不支持当前真机系统,应该升级xcode。
2016-07-29 19:08:24 284
转载 mac 终端 常用命令
mac 终端 常用命令基本命令1、列出文件ls 参数 目录名 例: 看看驱动目录下有什么:ls /System/Library/Extensions参数 -w 显示中文,-l 详细信息, -a 包括隐藏文件2、转换目录 cd 例:想到驱动目录下溜达一圈 cd /System/Library/Extensions3、建立新目录mkd
2016-07-28 11:58:55 259
原创 xcode 编写代码没有代码提示解决办法
xcode 编写代码没有代码提示解决办法方法一: 删除 /Users/用户名/Library/Developer/Xcode/DerivedData 路径下的缓存文件,重启xcode即可。方法二: window -- > Projects - -->Delegate Derived Data 重启Xcode。尝试方法一可行,方法二未尝试。
2016-07-27 16:41:35 1959
原创 iOS 设置view的边框
iOS 设置view的边框,我们可以很容易的给一个view加上边框,这样会使一个view的四边都有一个线,但有时候我们想要的并不是四个边都有,而是仅仅某几个边有边框效果,其他边没有边框,可以尝试一下下面的方法。注:self 是当前的view ,MAINSCREEN_WIDTH是宏定义的屏幕宽度 //上边框 CALayer *topLayer = [CALa
2016-07-26 14:24:42 3854
原创 cocoapods 在终端编辑Podfile 文件
cocoapods 在终端编辑Podfile 文件创建并编辑Podfile文件(可以终端操作,也可以直接手动操作)终端输入:vim podfile编辑文件,没有文件就自动在当前目录添加一个文件再编辑。输入内容: platform :ios, '8.0' target “target名称” do pod 'AFNetworking
2016-07-26 14:12:28 1034
原创 iOS 自定义cell改变其中子控件frame值
iOS 自定义cell改变其中子控件frame值,我在layoutSubviews方法中改变自定义cell中子控件label的frame值,发现并没有改变,于是查找资料,有的说关掉autolayout再进行设置改变,有说直接在xib文件中把约束连接到.h/.m文件中,在进行设置,然后我用的是后者,发现果然好用,我是改变的label高度的值,然后把这条约束连线过来,直接在layoutSubviews
2016-07-25 11:57:29 1093
转载 iOS UILabel 文字竖排显示
iOS UILabel 文字竖排显示做iOS开发要经常用到UILabel。UILabel一般只适用一些简单的文字显示。当需要复杂的图文混排的时候,可以用CoreText来做。但是CoreText用法复杂,当我们遇到一些不是很复杂的交互需求时,用CoreText就有点杀鸡用牛刀的意思。这里介绍一下我在项目里遇到的一个案例。先来看看效果:这里要求文字都是竖排显示,并且当文字是非汉字
2016-07-19 14:19:44 4902
转载 Xcode警告Category is implementing a method which will also be implemented by its primary class 处理
Xcode警告Category is implementing a method which will also be implemented by its primary class 处理
2016-07-19 13:49:35 531
原创 cocosapods pod install 报错
cocosapods pod install 报错Analyzing dependencies[!] Unable to satisfy the following requirements:- `SDWebImage (~> 3.8)` required by `Podfile`None of your spec sources contain a spe
2016-07-18 17:41:25 1261
原创 iOS 在百度地图上画线
- (void)viewDidLoad{ [super viewDidLoad]; BMKMapView *mapview = [BMKMapView alloc] initWithFrame:self.view.bounds]; mapview.delegate = self; self.view = mapview;
2016-07-14 14:51:02 2113
转载 There was an internal API error.
There was an internal API error.xcode7更新之后使用真机调试,在IOS8的一台Iphone5手机上面没什么问题,IOS8的一台iphone6也没问题。但是在IOS6的一台Iphone4s和 IOS7的ipad air2上面在最后安装的时候居然安装失败,提示 There was an internal API error. 然后百度Google了一下,找到一下几种可能或解决办法:1.私有api的问题。2.product
2016-07-11 19:04:41 607
转载 iOS Provisioning Profile(Certificate)与Code Signing详解
引言 关于开发证书配置(Certificates & Identifiers & Provisioning Profiles),相信做 iOS 开发的同学没少被折腾。对于一个 iOS 开发小白、半吊子(比如像我自己)抑或老兵,或多或少会有或曾有过以下不详、疑问、疑惑甚至困惑:什么是App ID?Explicit/Wildcard App ID有何区别?什么是App G
2016-07-11 17:59:40 514
转载 关于userInteractionEnabled的属性的理解
userInteractionEnabledA Boolean value that determines whether user events are ignored and removed from the event queue.译:一个布尔值,它决定了是否用户触发的事件被该视图对象忽略和把该视图对象从事件响应队列中移除。@property(nonatomi
2016-07-08 10:36:55 1194
原创 iOS 设置导航栏背景颜色,字体颜色
在navigationController的子类进行设置1.设置导航栏的背景颜色:UINavigationBar *navBar = [UINavigationBar appearance];[navBar setBarTintColor:customColor(220, 1, 1, 1)]; 2.设置字体大小以及颜色; [self.n
2016-07-07 19:36:31 474
原创 App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Te
用webView 加载网络请求的时候,会报App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file. 这样的错误提示,
2016-07-06 14:16:06 430
原创 ios9模拟器上下出现黑边
当我在TARGETS里面把Main interface 删除之后,并把自带的Main.storyboard删除之后,模拟器的上下出现黑边,在Launch Image 里面设置默认图片 640*960 和 640*1136,然后重新运行,OK。
2016-07-05 17:40:15 477
原创 iOS 设置tableView 组与组之间的间距,
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{ return 10;}这个代理方法只会设置导航栏与第一组之间的间距;而其他组之间的间距要通过tableView的sectionHeaderHeight、sectionFooter
2016-07-05 12:00:02 5320
jersey相关的jar包
2017-10-20
poi-scratchpad-3.5-beta1
2017-03-07
iOS ——Mantle
2016-10-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人