摘要:
1 #import "PrisonBreakCheck.h" 2 3 @implementation PrisonBreakCheck 4 /** 5 * 判断iPhone是否越狱了 6 */ 7 +(BOOL)checkPrisonBreak 8 { 9 //获取当前环境参数10 ... 阅读全文
随笔档案-2015年08月
iOS 打包生成ipa文件(使用终端命令打包)
2015-08-29 12:04 by 甘雨路, 956 阅读, 收藏,
摘要:
1. 打开终端2.在终端输入cd +空格 把工程文件直接拖到终端,然后回车3. 在终端输入xcodebuild,回车然后你可以发现工程文件里多了一个build文件夹在build文件夹中,有一个Release-iphoneos文件夹,在Release-iphoneos文件中生成了.app文件4.在终端... 阅读全文
IOS UITableView分组与索引分区实例
2015-08-25 21:58 by 甘雨路, 461 阅读, 收藏,
摘要:
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 甘雨路, 641 阅读, 收藏,
摘要:
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 甘雨路, 438 阅读, 收藏,
摘要:
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 甘雨路, 1829 阅读, 收藏,
摘要:
效果图如下: 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 甘雨路, 322 阅读, 收藏,
摘要:
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 甘雨路, 284 阅读, 收藏,
摘要:
首先在工程中导入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 甘雨路, 210 阅读, 收藏,
摘要:
首先在工程里导入MapKit.framework 1 #import "RootViewController.h" 2 #import 3 @interface RootViewController () 4 5 @end 6 7 @implementation RootViewControl... 阅读全文
UITableView(可滚动到顶部和底部)
2015-08-17 11:05 by 甘雨路, 761 阅读, 收藏,
摘要:
#import "RootViewController.h"#define width [UIScreen mainScreen].bounds.size.width#define height [UIScreen mainScreen].bounds.size.height#define topH... 阅读全文
通过iOS中的按钮来触发html文件中按钮所触发的函数
2015-08-04 11:07 by 甘雨路, 334 阅读, 收藏,
摘要:
html文件的代码 1 2 3 4 标题 5 6 7 8 10 11 12 18 iOS 工程的代码#import @interface AppDelegate : UIResponder @prop... 阅读全文
CoreData的增删改查
2015-08-03 10:50 by 甘雨路, 330 阅读, 收藏,
摘要:
首先使用CoreData创建Demo,勾上CoreData选项 然后创建Entity对象,点击Add Entity(+)按钮 生成Entity对象 重命名双击Entity选项,然后输入Person 设置Person属性,点击Attributes选项中的+号,实现添加属性,并给属性命名,且添加属性相关 阅读全文
浙公网安备 33010602011771号