摘要:在Apple最新的XCode6.x中没有了Empty Application模板,好在XCode可以添加模板,而且可以自定义模板。首先可以到XCode5.x中复制Empty Application模板,定位位置如下:/Applications/Xcode 5.1.1.app/Contents/Dev... 阅读全文
iOS 判断设备是否越狱了
2015-08-31 14:55 by 甘雨路, 242 阅读, 0 推荐, 收藏, 编辑
摘要:1 #import "PrisonBreakCheck.h" 2 3 @implementation PrisonBreakCheck 4 /** 5 * 判断iPhone是否越狱了 6 */ 7 +(BOOL)checkPrisonBreak 8 { 9 //获取当前环境参数10 ... 阅读全文
iOS 打包生成ipa文件(使用终端命令打包)
2015-08-29 12:04 by 甘雨路, 917 阅读, 0 推荐, 收藏, 编辑
摘要:1. 打开终端2.在终端输入cd +空格 把工程文件直接拖到终端,然后回车3. 在终端输入xcodebuild,回车然后你可以发现工程文件里多了一个build文件夹在build文件夹中,有一个Release-iphoneos文件夹,在Release-iphoneos文件中生成了.app文件4.在终端... 阅读全文
IOS UITableView分组与索引分区实例
2015-08-25 21:58 by 甘雨路, 445 阅读, 0 推荐, 收藏, 编辑
摘要:1 #import 2 3 @interface AppDelegate : UIResponder 4 5 @property (strong, nonatomic) UIWindow *window;6 7 8 @end 1 #import "AppDelegate.h" 2 #import "... 阅读全文
iOS UITableView制作类似QQ好友列表视图
2015-08-25 21:43 by 甘雨路, 633 阅读, 0 推荐, 收藏, 编辑
摘要:1 #import 2 3 @interface AppDelegate : UIResponder 4 5 @property (strong, nonatomic) UIWindow *window;6 7 8 @end 1 #import "AppDelegate.h" 2 #i... 阅读全文
iOS 地图(自定义地位图标)
2015-08-24 21:25 by 甘雨路, 427 阅读, 0 推荐, 收藏, 编辑
摘要:1 #import 2 3 @interface AppDelegate : UIResponder 4 5 @property (strong, nonatomic) UIWindow *window;6 7 @end 1 #import "AppDelegate.h" 2 #import "Ro... 阅读全文
iOS 列表三级展开
2015-08-24 20:33 by 甘雨路, 1807 阅读, 0 推荐, 收藏, 编辑
摘要:效果图如下: 1 #import 2 3 @interface AppDelegate : UIResponder 4 5 @property (strong, nonatomic) UIWindow *window;6 7 8 @end 1 #import "AppDelegate.h" ... 阅读全文
iOS 聊天界面
2015-08-20 16:38 by 甘雨路, 307 阅读, 0 推荐, 收藏, 编辑
摘要:1 #import 2 3 @interface AppDelegate : UIResponder 4 5 @property (strong, nonatomic) UIWindow *window;6 7 8 @end 1 #import "AppDele... 阅读全文
iOS 地图(添加大头针)
2015-08-17 21:40 by 甘雨路, 259 阅读, 0 推荐, 收藏, 编辑
摘要:首先在工程中导入MapKit.framework库文件1 #import 2 3 @interface AppDelegate : UIResponder 4 5 @property (strong, nonatomic) UIWindow *window;6 7 @end 1 #import "A... 阅读全文
iOS 地图
2015-08-17 20:55 by 甘雨路, 200 阅读, 0 推荐, 收藏, 编辑
摘要:首先在工程里导入MapKit.framework 1 #import "RootViewController.h" 2 #import 3 @interface RootViewController () 4 5 @end 6 7 @implementation RootViewControl... 阅读全文