- 博客(15)
- 资源 (3)
- 收藏
- 关注
原创 Xcode各个版本下载地址
http://stackoverflow.com/questions/10335747/how-to-download-xcode-4-5-6-7-and-get-the-dmg-file
2015-09-30 16:09:27 1220
原创 Swift_UIImagePickerController选择图片显示
Swift_UIImagePickerController选择图片显示代码如下:import UIKitclass ViewController: UIViewController, UIImagePickerControllerDelegate,UINavigationControllerDelegate { //跳转图库按钮 var selectButton:
2015-09-30 10:51:19 628
原创 Xcode7_archive打包的时候报“ no identity found"错
archive的时候报“ no identity found"错E79CDDB501B68E74DDF03EA4E75246A7FDF010D0: no identity found Command /usr/bin/codesign failed with exit code 1解决:Xcode > Preferences > Accounts > Vie
2015-09-24 14:41:01 1686 1
转载 [置顶] Xcode 6.1 做ipa企业级分发(In-House模式)详细步骤
新版的xcode(6.1)在导出企业级ipa时并没有“saved for enterprise distribution”这个选项,所以需要手动添加该plist文件。必备条件:1、申请 iOS Developer Enterprise Program,需要$299/年;2、需要一个有效的SSL证书(访问plist文件用到),可以来着http://www.freehao123.c
2015-09-24 14:34:15 393
转载 iOS线程锁NSLock案例(卖火车票)
#import "RootViewController.h" @interface RootViewController () // 声明总票数 @property (nonatomic, assign) NSInteger totalTickets; // 声明剩余票数 @property (nonatomic, assign) NSInteger
2015-09-24 09:39:14 1558
原创 Xcode报The identity used to sign the executable is no longer valid
Xcode报一下错误:The identity used to sign the executable is no longer valid.Please verify that your device’s clock is properly set, and that your signing certificate is not expired.(0xE8008018)
2015-09-21 15:30:40 736
原创 Xcode7网络报错:App Transport Security has blocked a cleartext HTTP
Xcode7网络报错1:Xcode 7 创建新项目用到 UIWebView 发送请求时,报下面的错: “App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via y
2015-09-19 11:44:32 2121
原创 Xcode7报错:Xcode setting ENABLE_BITCODE
Xcode7报错:ld: '/Users/LF/iOS/Objective-C/自写/04ZBar二维码/04ZBar二维码/ZBarSDK-master/libzbar.a(ZBarReaderView.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_
2015-09-18 14:10:17 4649
转载 Xcode 6 LaunchImage 载入界面标准大小
iPhone Portrait iOS 8-Retina HD 5.5 (1242×2208) @3xiPhone Portrait iOS 8-Retina HD 4.7 (750×1334) @2xiPhone Portrait iOS 7,8-2x (640×960) @2xiPhone Portrait iOS 7,8-Retina 4 (640×1136) @2x
2015-09-11 16:54:38 449
转载 Mac环境下svn的使用
在Windows环境中,我们一般使用TortoiseSVN来搭建svn环境。在Mac环境下,由于Mac自带了svn的服务器端和客户端功能,所以我们可以在不装任何第三方软件的前提下使用svn功能,不过还需做一下简单的配置。我们首先来看下,如何在Mac环境下搭建svn服务器端环境。创建代码仓库,用来存储客户端所上传的代码我先在/User/apple目录下新建一个svn目录,以后可以
2015-09-10 15:22:41 1981
转载 ZBar简单使用
1.下载ZBar的第三方库,添加入工程http://zbar.sourceforge.net/iphone/index.htmlhttps://github.com/bmorton/ZBarSDK2.添加相关库 AVFoundation.framework CoreMedia.framework CoreVideo.framework
2015-09-10 11:13:30 6711 1
转载 动态获取键盘高度
动态获取键盘高度://需要手动调用 registerForKeyboardNotifications 方法,其他两个会自动调用,弹出的键盘高 216(输入英文时候),ios 5 系统的 @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; [self regis
2015-09-09 17:24:01 932
原创 关于self.window.rootViewController的方法调用顺序
关于self.window.rootViewController设置window根控制器,的方法调用顺序 /* *root控制器添加到window.rootViewController控制器时,root控制器的viewDidLoad才会被调用 * */ RootViewController *root = [RootView
2015-09-05 15:19:27 4146
原创 iOS开发中,应用内直接跳转到Appstore评分
1.进入appstore中指定的应用NSString *str = [NSString stringWithFormat: @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa /wa/viewContentsUserReviews?type=Purple+Software&id=
2015-09-05 09:59:05 4215
原创 HTTP Client使用
HTTP Client测试POST、GET请求接口1.GET请求:设置好请求方式Method为:GET,Content-Type返回内容类型为:application/x-www-form-urlencoded。(如果有请求参数,可像POST请求一样展开Body。 以(key1=value1&key2=value2)形势拼接参数)2.POST请求设置好请求方
2015-09-02 14:01:43 554
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人