08 2016 档案

autoLayout约束图解
摘要: 阅读全文

posted @ 2016-08-23 14:35 开花结果乐园 阅读(118) 评论(0) 推荐(0)

应用程序之间互相通讯的几种方法
摘要:http://zhidao.baidu.com/link?url=mhlMuJfXCnYMEpnLoXE_BV__5TIzmMw3pijKC2wI1fesISenwCS454ZcqjXemvFT3tn6pGf0HE7XWW7hkRJvS-TMtvg4spjDUgjhYCJxbXG 阅读全文

posted @ 2016-08-18 09:13 开花结果乐园 阅读(268) 评论(0) 推荐(0)

iOS 实现app文件共享
摘要:解决方式如下,在应用程序的Info.plist文件中添加UIFileSharingEnabled键,并将键值设置为YES。将您希望共享的文件放在应用程序的Documents目录。一旦设备插入到用户计算机,iTunes 9.1就会在选中设备的Apps标签中显示一个File Sharing区域。此后,用 阅读全文

posted @ 2016-08-18 09:06 开花结果乐园 阅读(804) 评论(0) 推荐(0)

枚举/遍历 一个数组NSArray/NSDictionary
摘要:一,当枚举一个数组的时候: 1.使用 for (id object in array) 如果是顺序枚举 2.使用 for (id object in [arrary reverseObjectEnumerator]) 如果是倒叙枚举 3.使用 for (NSInteger i = 0; i < co 阅读全文

posted @ 2016-08-17 14:31 开花结果乐园 阅读(203) 评论(0) 推荐(0)

cell选中后进入重用池出来选中状态消失
摘要:#import "XXViewController.h" @interface XXViewController ()<UITableViewDelegate,UITableViewDataSource> { UITableView *_table; } //定义一个数组来记录cell的是否选中的状 阅读全文

posted @ 2016-08-17 13:26 开花结果乐园 阅读(1098) 评论(0) 推荐(0)

scrollview做定时来回滚动时,总出现错位的情况。
摘要:方法1:self.edgesForExtendedLayout = UIRectEdgeNone; 方法2: self.automaticallyAdjustsScrollViewInsets = YES; 阅读全文

posted @ 2016-08-17 11:43 开花结果乐园 阅读(388) 评论(0) 推荐(0)

TextField 的文字间距
摘要:#import "XZCTextField.h"@implementation XZCTextField////控制清除按钮的位置//-(CGRect)clearButtonRectForBounds:(CGRect)bounds//{// return CGRectMake(bounds.orig 阅读全文

posted @ 2016-08-17 10:58 开花结果乐园 阅读(761) 评论(0) 推荐(0)

3DTouch 开发教程全解
摘要:本文主要讲解3DTouch各种场景下的开发方法,开发主屏幕应用icon上的快捷选项标签(Home Screen Quick Actions),静态设置UIApplicationShortcutItem,动态添加、修改UIApplicationShortcutItem,peek和pop的实现。 一、3 阅读全文

posted @ 2016-08-17 10:50 开花结果乐园 阅读(805) 评论(0) 推荐(0)

导航