您的位置:首页 > 移动开发 > IOS开发

27个iOS开发小技巧

2015-04-08 16:12 288 查看
<span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="font-size:12px;word-wrap: normal; word-break: normal; line-height: 1.5em; outline: none;"><span style="outline: none;">1、不想让TableView显示无用的Cell分割线怎么办?</span></span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_1" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" /></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">self.tableView.tableFooterView <wbr>= <wbr>[[UIView <wbr>alloc] <wbr>init]; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">2、自定义了leftBarbuttonItem左滑返回手势失效了怎么办?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_2" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" />6 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">self.navigationItem.leftBarButtonItem <wbr>= <wbr>[[UIBarButtonItem <wbr>alloc] <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>initWithImage:img <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>style:UIBarButtonItemStylePlai<wbr>n <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>target:self <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>action:@selector(onBack:)]; <wbr><br style="outline: none;" />self.navigationController.interactivePopGestureRec<wbr>ognizer.delegate <wbr>= <wbr>(id)self; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">3、在ioS7中,如何检测系统自带ViewController手势返回结束?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_3" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1<br style="outline: none;" />2<br style="outline: none;" />3<br style="outline: none;" />4<br style="outline: none;" />5<br style="outline: none;" />6<br style="outline: none;" />7<br style="outline: none;" /></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">-(void)navigationController:(UINavigationController*)navigationControllerwill<wbr>ShowViewController:(UIViewController*)viewControlleranimated:(BOOL)animated <wbr><br style="outline: none;" />{ <wbr><br style="outline: none;" />idtc=navigationController.topViewController.transitionCoordinator; <wbr><br style="outline: none;" />[tcnotifyWhenInteractionE<wbr>ndsUsingBlock:^(idcontext){ <wbr><br style="outline: none;" />NSLog(@"7:%i",[contextisCancelled]); <wbr><br style="outline: none;" />}]; <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">4、ScrollView莫名其妙不能在viewController划到顶怎么办?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_4" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" /></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">self.automaticallyAdjustsScro<wbr>llViewInsets <wbr>= <wbr>NO; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">5、在不新建一个Cell的情况下,怎么调整separaLine的位置?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_5" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" /></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">_myTableView.separatorInset <wbr>= <wbr>UIEdgeInsetsMake(0, <wbr>100, <wbr>0, <wbr>0); <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">6、怎么点击self.view就让键盘收起,需要添加一个tapGestures吗?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_6" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">- <wbr>(void)touchesBegan:(NSSet <wbr>*)touches <wbr>withEvent:(UIEvent <wbr>*)event <wbr><br style="outline: none;" />{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr>[self.view <wbr>endEditing:YES]; <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">7、怎么像safari一样滑动的时候隐藏navigationbar?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_7" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" /></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">navigationController.hidesBarsOnSwipe <wbr>= <wbr>Yes <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">8、导航条返回键带的title太讨厌了,怎么让它消失?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_8" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" /></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">[[UIBarButtonItem <wbr>appearance] <wbr>setBackButtonTitlePositi<wbr>onAdjustment:UIOffsetMake(0, <wbr>-60) <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>forBarMetrics:UIBarMetricsDefault]; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">9、CollectionView 怎么实现tableview那种悬停的header?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_9" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" /></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">CSStickyHeaderFlowLayou <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">10、能不能只用一个pan手势来代替UISwipegesture的各个方向?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_10" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" />6 <wbr><br style="outline: none;" />7 <wbr><br style="outline: none;" />8 <wbr><br style="outline: none;" />9 <wbr><br style="outline: none;" />10 <wbr><br style="outline: none;" />11 <wbr><br style="outline: none;" />12 <wbr><br style="outline: none;" />13 <wbr><br style="outline: none;" />14 <wbr><br style="outline: none;" />15 <wbr><br style="outline: none;" />16 <wbr><br style="outline: none;" />17 <wbr><br style="outline: none;" />18 <wbr><br style="outline: none;" />19 <wbr><br style="outline: none;" />20 <wbr><br style="outline: none;" />21 <wbr><br style="outline: none;" />22 <wbr><br style="outline: none;" />23 <wbr><br style="outline: none;" />24 <wbr><br style="outline: none;" />25 <wbr><br style="outline: none;" />26 <wbr><br style="outline: none;" />27 <wbr><br style="outline: none;" />28 <wbr><br style="outline: none;" />29 <wbr><br style="outline: none;" />30 <wbr><br style="outline: none;" />31 <wbr><br style="outline: none;" />32 <wbr><br style="outline: none;" />33 <wbr><br style="outline: none;" />34 <wbr><br style="outline: none;" />35 <wbr><br style="outline: none;" />36 <wbr><br style="outline: none;" />37 <wbr><br style="outline: none;" />38 <wbr><br style="outline: none;" />39 <wbr><br style="outline: none;" />40 <wbr><br style="outline: none;" />41 <wbr><br style="outline: none;" />42 <wbr><br style="outline: none;" />43 <wbr><br style="outline: none;" />44 <wbr><br style="outline: none;" />45 <wbr><br style="outline: none;" />46 <wbr><br style="outline: none;" />47 <wbr><br style="outline: none;" />48 <wbr><br style="outline: none;" />49 <wbr><br style="outline: none;" />50 <wbr><br style="outline: none;" />51 <wbr><br style="outline: none;" />52 <wbr><br style="outline: none;" />53 <wbr><br style="outline: none;" />54 <wbr><br style="outline: none;" />55 <wbr><br style="outline: none;" />56 <wbr><br style="outline: none;" />57 <wbr><br style="outline: none;" />58 <wbr><br style="outline: none;" />59 <wbr><br style="outline: none;" />60 <wbr><br style="outline: none;" />61 <wbr><br style="outline: none;" />62 <wbr><br style="outline: none;" />63 <wbr><br style="outline: none;" />64 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">- <wbr>(void)pan:(UIPanGestureRecognizer <wbr>*)sender <wbr><br style="outline: none;" />{ <wbr><br style="outline: none;" />typedef <wbr>NS_ENUM(NSUInteger, <wbr>UIPanGestureRecognizerDi<wbr>rection) <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>UIPanGestureRecognizerDi<wbr>rectionUndefined, <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>UIPanGestureRecognizerDi<wbr>rectionUp, <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>UIPanGestureRecognizerDi<wbr>rectionDown, <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>UIPanGestureRecognizerDi<wbr>rectionLeft, <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>UIPanGestureRecognizerDi<wbr>rectionRight <wbr><br style="outline: none;" />}; <wbr><br style="outline: none;" />static <wbr>UIPanGestureRecognizerDi<wbr>rection <wbr>direction <wbr>= <wbr>UIPanGestureRecognizerDi<wbr>rectionUndefined; <wbr><br style="outline: none;" />switch <wbr>(sender.state) <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>case <wbr>UIGestureRecognizerState<wbr>Began: <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>if <wbr>(direction <wbr>== <wbr>UIPanGestureRecognizerDi<wbr>rectionUndefined) <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>CGPoint <wbr>velocity <wbr>= <wbr>[sender <wbr>velocityInView:recognizer.view]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>BOOL <wbr>isVerticalGesture <wbr>= <wbr>fabs(velocity.y) <wbr>> <wbr>fabs(velocity.x); <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>if <wbr>(isVerticalGesture) <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>if <wbr>(velocity.y <wbr>> <wbr>0) <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>direction <wbr>= <wbr>UIPanGestureRecognizerDi<wbr>rectionDown; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr>else <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>direction <wbr>= <wbr>UIPanGestureRecognizerDi<wbr>rectionUp; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>else <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>if <wbr>(velocity.x <wbr>> <wbr>0) <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>direction <wbr>= <wbr>UIPanGestureRecognizerDi<wbr>rectionRight; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr>else <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>direction <wbr>= <wbr>UIPanGestureRecognizerDi<wbr>rectionLeft; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>break; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>case <wbr>UIGestureRecognizerState<wbr>Changed: <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>switch <wbr>(direction) <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>case <wbr>UIPanGestureRecognizerDi<wbr>rectionUp: <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>[self <wbr>handleUpwardsGesture:sender]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>break; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>case <wbr>UIPanGestureRecognizerDi<wbr>rectionDown: <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>[self <wbr>handleDownwardsGesture:sender]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>break; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>case <wbr>UIPanGestureRecognizerDi<wbr>rectionLeft: <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>[self <wbr>handleLeftGesture:sender]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>break; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>case <wbr>UIPanGestureRecognizerDi<wbr>rectionRight: <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>[self <wbr>handleRightGesture:sender]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>break; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>default: <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>break; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>break; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>case <wbr>UIGestureRecognizerState<wbr>Ended: <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>direction <wbr>= <wbr>UIPanGestureRecognizerDi<wbr>rectionUndefined; <wbr> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>break; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>default: <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>break; <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">11、怎么把tableview里cell的小对勾的颜色改成别的颜色?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><img src="http://ds.devstore.cn/20141230/1419908037262/1.png" real_src="http://ds.devstore.cn/20141230/1419908037262/1.png" border="0" alt="27个iOS开发小技巧" title="27个iOS开发小技巧" action-data="http%3A%2F%2Fds.devstore.cn%2F20141230%2F1419908037262%2F1.png" action-type="show-slide" style="margin: 0px; padding: 0px; border: 0px none; list-style: none; font-size: 14px; outline: none; max-width: 100%; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="color: rgb(70, 70, 70); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);"></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_11" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" /></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">_mTableView.tintColor <wbr>= <wbr>[UIColor <wbr>redColor]; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">12、本来我的statusbar是lightcontent的,结果用UIImagePickerController会导致我的statusbar的样式变成黑色,怎么办?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_12" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1<br style="outline: none;" />2<br style="outline: none;" />3<br style="outline: none;" />4<br style="outline: none;" /></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">- <wbr>(void)navigationController:(UINavigationController <wbr>*)navigationController <wbr>willShowViewController:(UIViewController <wbr>*)viewController <wbr>animated:(BOOL)animated <wbr><br style="outline: none;" />{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>[[UIApplication <wbr>sharedApplication] <wbr>setStatusBarStyle:UIStatusBarStyleLightCon<wbr>tent]; <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">13、怎么把我的navigationbar弄成透明的而不是带模糊的效果?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_13" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">[self.navigationBar <wbr>setBackgroundImage:[UIImage <wbr>new] <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>forBarMetrics:UIBarMetricsDefault]; <wbr><br style="outline: none;" />self.navigationBar.shadowImage <wbr>= <wbr>[UIImage <wbr>new]; <wbr><br style="outline: none;" />self.navigationBar.translucent <wbr>= <wbr>YES; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">14、怎么改变uitextfield placeholder的颜色和位置?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;">继承uitextfield,重写这个方法: <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_14" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">- <wbr>(void) <wbr>drawPlaceholderInRect:(CGRect)rect <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>[[UIColor <wbr>blueColor] <wbr>setFill]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>[self.placeholder <wbr>drawInRect:rect <wbr>withFont:self.font <wbr>lineBreakMode:UILineBreakModeTailTrunc<wbr>ation <wbr>alignment:self.textAlignment]; <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">15、添加需要的不同语言字符串</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; outline: none; font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; color: rgb(0, 176, 80);"><span style="outline: none;">简体中文Localizable.strings文件:</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_15" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">"REMIND"="提示"; <wbr><br style="outline: none;" />"OK"="确定"; <wbr><br style="outline: none;" />"CANCEL"="取消"; <wbr><br style="outline: none;" />"NetworkConnectError"="网络连接失败"; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; outline: none; font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; color: rgb(0, 176, 80);"><span style="outline: none;">英文版Localizable.strings文件:</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_16" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">"REMIND"="Remind"; <wbr><br style="outline: none;" />"OK"="OK"; <wbr><br style="outline: none;" />"CANCEL"="Cancel"; <wbr><br style="outline: none;" />"NetworkConnectError"="Cannot <wbr>Connect <wbr>Network"; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; outline: none; font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; color: rgb(255, 0, 0);">注意:不要遗漏结尾的分号“;”</span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">16、使用国际化文件</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_17" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1<br style="outline: none;" />2<br style="outline: none;" /></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">UIAlertView <wbr>*alert <wbr>= <wbr>[[UIAlertView <wbr>alloc] <wbr>initWithTitle:NSLocalizedString(@"REMIND", <wbr>nil) <wbr>message:NSLocalizedString(@"NetworkConnectError", <wbr>nil) <wbr>delegate:self <wbr>cancelButtonTitle:NSLocalizedString(@"CANCEL", <wbr>nil) <wbr>otherButtonTitles:NSLocalizedString(@"OK", <wbr>nil), <wbr>nil]; <wbr><br style="outline: none;" />[alert <wbr>show]; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">17、遍历实践Tips</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; outline: none; font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; color: rgb(0, 176, 80);"><span style="outline: none;">倒序遍历</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;">NSArray和NSOrderedSet都支持使用reverseObjectEnumerator倒序遍历,如: <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_18" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">NSArray <wbr>*strings <wbr>= <wbr>@[@"1", <wbr>@"2", <wbr>@"3"]; <wbr> <wbr> <wbr><br style="outline: none;" />for <wbr>(NSString <wbr>*string <wbr>in <wbr>[strings <wbr>reverseObjectEnumerator]) <wbr>{ <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>NSLog(@"%@", <wbr>string); <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;">这个方法只在循环第一次被调用,所以不必担心循环每次计算的问题。 <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;">同时,使用enumerateObjectsWithOpti<wbr>ons:NSEnumerationReverse也可以实现倒序遍历: <wbr></wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_19" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" /></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">[array <wbr>enumerateObjectsWithOpti<wbr>ons:NSEnumerationReverse <wbr>usingBlock:^(Sark <wbr>*sark, <wbr>NSUInteger <wbr>idx, <wbr>BOOL <wbr>*stop) <wbr>{ <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>[sark <wbr>doSomething]; <wbr> <wbr> <wbr><br style="outline: none;" />}]; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; outline: none; font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; color: rgb(0, 176, 80);"><span style="outline: none;">使用block同时遍历字典key,value</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;">block版本的字典遍历可以同时取key和value(forin只能取key再手动取value),如: <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_20" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">NSDictionary <wbr>*dict <wbr>= <wbr>@{@"a": <wbr>@"1", <wbr>@"b": <wbr>@"2"}; <wbr> <wbr> <wbr><br style="outline: none;" />[dict <wbr>enumerateKeysAndObjectsU<wbr>singBlock:^(id <wbr>key, <wbr>id <wbr>obj, <wbr>BOOL <wbr>*stop) <wbr>{ <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>NSLog(@"key: <wbr>%@, <wbr>value: <wbr>%@", <wbr>key, <wbr>obj); <wbr> <wbr> <wbr><br style="outline: none;" />}]; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;">对于耗时且顺序无关的遍历,使用并发版本: <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_21" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" /></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">[array <wbr>enumerateObjectsWithOpti<wbr>ons:NSEnumerationConcurrent <wbr>usingBlock:^(Sark <wbr>*sark, <wbr>NSUInteger <wbr>idx, <wbr>BOOL <wbr>*stop) <wbr>{ <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr>[sark <wbr>doSomethingSlow]; <wbr> <wbr> <wbr><br style="outline: none;" />}]; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">18、如果在程序中想对某张图片进行处理的话(如得到某张图片的一部分)怎么做?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_22" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" />6 <wbr><br style="outline: none;" />7 <wbr><br style="outline: none;" />8 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">UIImage <wbr>*image <wbr>= <wbr>[UIImage <wbr>imageNamed:filename]; <wbr><br style="outline: none;" />CGImageRef <wbr>imageRef <wbr>= <wbr>image.CGImage; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />CGRect <wbr>rect <wbr>= <wbr>CGRectMake(origin.x, <wbr>origin.y <wbr>,size.width, <wbr>size.height); <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />CGImageRef <wbr>imageRefRect <wbr>= <wbr>CGImageCreateWithImageIn<wbr>Rect(imageRef, <wbr>rect); <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />UIImage <wbr>*imageRect <wbr>= <wbr>[[UIImage <wbr>alloc] <wbr>initWithCGImage:imageRefRect]; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">19、如何判断邮箱输入的是否正确?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_23" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" />6 <wbr><br style="outline: none;" />7 <wbr><br style="outline: none;" />8 <wbr><br style="outline: none;" />9 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">- <wbr>(BOOL) <wbr>validateEmail: <wbr>(NSString <wbr>*) <wbr>candidate <wbr>{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSString <wbr>*emailRegex <wbr>= <wbr>@"[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}"; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSPredicate <wbr>*emailTest <wbr>= <wbr>[NSPredicate <wbr>predicateWithFormat:@"SELF <wbr>MATCHES <wbr>%@", <wbr>emailRegex]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />return <wbr>[emailTest <wbr>evaluateWithObject:candidate]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">20、如何把当前的视图作为照片保存到相册中去?</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_24" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" />6 <wbr><br style="outline: none;" />7 <wbr><br style="outline: none;" />8 <wbr><br style="outline: none;" />9 <wbr><br style="outline: none;" />10 <wbr><br style="outline: none;" />11 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">#import <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />UIGraphicsBeginImageCont<wbr>ext(currentView.bounds.size); <wbr> <wbr> <wbr> <wbr> <wbr>//currentView <wbr>当前的view <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[currentView.layer <wbr>renderInContext:UIGraphicsGetCurrentCont<wbr>ext()]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />UIImage <wbr>*viewImage <wbr>= <wbr>UIGraphicsGetImageFromCu<wbr>rrentImageContext(); <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />UIGraphicsEndImageContex<wbr>t(); <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />UIImageWriteToSavedPhoto<wbr>sAlbum(viewImage, <wbr>nil, <wbr>nil, <wbr>nil); <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">21、本地通知(类似于push通知)按home键到后台十秒后触发</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_25" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" />6 <wbr><br style="outline: none;" />7 <wbr><br style="outline: none;" />8 <wbr><br style="outline: none;" />9 <wbr><br style="outline: none;" />10 <wbr><br style="outline: none;" />11 <wbr><br style="outline: none;" />12 <wbr><br style="outline: none;" />13 <wbr><br style="outline: none;" />14 <wbr><br style="outline: none;" />15 <wbr><br style="outline: none;" />16 <wbr><br style="outline: none;" />17 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">UILocalNotification <wbr>*notification=[[UILocalNotification <wbr>alloc] <wbr>init]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />if <wbr>(notification!=nil) <wbr>{ <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSLog(@">> <wbr>support <wbr>local <wbr>notification"); <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSDate <wbr>*now=[NSDate <wbr>new]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />notification.fireDate=[now <wbr>addTimeInterval:10]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />notification.timeZone=[NSTimeZone <wbr>defaultTimeZone]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />notification.alertBody=@"该去吃晚饭了!"; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[[UIApplication <wbr>sharedApplication].scheduleLocalNotificatio<wbr>n:notification]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">22、捕获iphone通话事件</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_26" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" />6 <wbr><br style="outline: none;" />7 <wbr><br style="outline: none;" />8 <wbr><br style="outline: none;" />9 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">CTCallCenter <wbr>*center <wbr>= <wbr>[[CTCallCenter <wbr>alloc] <wbr>init]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />center.callEventHandler <wbr>= <wbr>^(CTCall <wbr>*call) <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSLog(@"call:%@", <wbr>call.callState); <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">23、计算字符串的字数</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_27" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" />6 <wbr><br style="outline: none;" />7 <wbr><br style="outline: none;" />8 <wbr><br style="outline: none;" />9 <wbr><br style="outline: none;" />10 <wbr><br style="outline: none;" />11 <wbr><br style="outline: none;" />12 <wbr><br style="outline: none;" />13 <wbr><br style="outline: none;" />14 <wbr><br style="outline: none;" />15 <wbr><br style="outline: none;" />16 <wbr><br style="outline: none;" />17 <wbr><br style="outline: none;" />18 <wbr><br style="outline: none;" />19 <wbr><br style="outline: none;" />20 <wbr><br style="outline: none;" />21 <wbr><br style="outline: none;" />22 <wbr><br style="outline: none;" />23 <wbr><br style="outline: none;" />24 <wbr><br style="outline: none;" />25 <wbr><br style="outline: none;" />26 <wbr><br style="outline: none;" />27 <wbr><br style="outline: none;" />28 <wbr><br style="outline: none;" />29 <wbr><br style="outline: none;" />30 <wbr><br style="outline: none;" />31 <wbr><br style="outline: none;" />32 <wbr><br style="outline: none;" />33 <wbr><br style="outline: none;" />34 <wbr><br style="outline: none;" />35 <wbr><br style="outline: none;" />36 <wbr><br style="outline: none;" />37 <wbr><br style="outline: none;" />38 <wbr><br style="outline: none;" />39 <wbr><br style="outline: none;" />40 <wbr><br style="outline: none;" />41 <wbr><br style="outline: none;" />42 <wbr><br style="outline: none;" />43 <wbr><br style="outline: none;" />44 <wbr><br style="outline: none;" />45 <wbr><br style="outline: none;" />46 <wbr><br style="outline: none;" />47 <wbr><br style="outline: none;" />48 <wbr><br style="outline: none;" />49 <wbr><br style="outline: none;" />50 <wbr><br style="outline: none;" />51 <wbr><br style="outline: none;" />52 <wbr><br style="outline: none;" />53 <wbr><br style="outline: none;" />54 <wbr><br style="outline: none;" />55 <wbr><br style="outline: none;" />56 <wbr><br style="outline: none;" />57 <wbr><br style="outline: none;" />58 <wbr><br style="outline: none;" />59 <wbr><br style="outline: none;" />60 <wbr><br style="outline: none;" />61 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">-(int)calculateTextNumber:(NSString <wbr>*)text <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />float <wbr>number <wbr>= <wbr>0.0; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />int <wbr>index <wbr>= <wbr>0; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />for <wbr>(index; <wbr>index <wbr>< <wbr>[text <wbr>length]; <wbr>index++) <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSString <wbr>*protoText <wbr>= <wbr>[text <wbr>substringToIndex:[text <wbr>length] <wbr>- <wbr>index]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSString <wbr>*toChangetext <wbr>= <wbr>[text <wbr>substringToIndex:[text <wbr>length] <wbr>-1 <wbr>-index]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSString <wbr>*charater; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />if <wbr>([toChangetext <wbr>length]==0) <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />charater <wbr>= <wbr>protoText; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />else <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSRange <wbr>range <wbr>= <wbr>[text <wbr>rangeOfString:toChangetext]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />charater <wbr>= <wbr>[protoText <wbr>stringByReplacingCharact<wbr>ersInRange:range <wbr>withString:@""]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSLog(charater); <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />if <wbr>([charater <wbr>lengthOfBytesUsingEncodi<wbr>ng:NSUTF8StringEncoding] <wbr>== <wbr>3) <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />number++; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />else <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />{ <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />number <wbr>= <wbr>number+0.5; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />return <wbr>ceil(number); <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">24、iPad隐藏键盘的同时触发方法</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_28" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" />6 <wbr><br style="outline: none;" />7 <wbr><br style="outline: none;" />8 <wbr><br style="outline: none;" />9 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">[[NSNotificationCenter <wbr>defaultCenter] <wbr>addObserver:self <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />selector:@selector(keyboardWillHide:) <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />name:UIKeyboardWillHideNotifi<wbr>cation <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr>object:nil]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />- <wbr>(IBAction)keyboardWillHide:(NSNotification <wbr>*)note <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">25、设置时区</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_29" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">NSTimeZone <wbr>*defaultTimeZone <wbr>= <wbr>[NSTimeZone <wbr>defaultTimeZone]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSTimeZone <wbr>*tzGMT <wbr>= <wbr>[NSTimeZone <wbr>timeZoneWithName:@"GMT"]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[NSTimeZone <wbr>setDefaultTimeZone:tzGMT]; <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">26、在程序中实现电话的拨打</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_30" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" />6 <wbr><br style="outline: none;" />7 <wbr><br style="outline: none;" />8 <wbr><br style="outline: none;" />9 <wbr><br style="outline: none;" />10 <wbr><br style="outline: none;" />11 <wbr><br style="outline: none;" />12 <wbr><br style="outline: none;" />13 <wbr><br style="outline: none;" />14 <wbr><br style="outline: none;" />15 <wbr><br style="outline: none;" />16 <wbr><br style="outline: none;" />17 <wbr><br style="outline: none;" />18 <wbr><br style="outline: none;" />19 <wbr><br style="outline: none;" />20 <wbr><br style="outline: none;" />21 <wbr><br style="outline: none;" />22 <wbr><br style="outline: none;" />23 <wbr><br style="outline: none;" />24 <wbr><br style="outline: none;" />25 <wbr><br style="outline: none;" />26 <wbr><br style="outline: none;" />27 <wbr><br style="outline: none;" />28 <wbr><br style="outline: none;" />29 <wbr><br style="outline: none;" />30 <wbr><br style="outline: none;" />31 <wbr><br style="outline: none;" />32 <wbr><br style="outline: none;" />33 <wbr><br style="outline: none;" />34 <wbr><br style="outline: none;" />35 <wbr><br style="outline: none;" />36 <wbr><br style="outline: none;" />37 <wbr><br style="outline: none;" />38 <wbr><br style="outline: none;" />39 <wbr><br style="outline: none;" />40 <wbr><br style="outline: none;" />41 <wbr><br style="outline: none;" />42 <wbr><br style="outline: none;" />43 <wbr><br style="outline: none;" />44 <wbr><br style="outline: none;" />45 <wbr><br style="outline: none;" />46 <wbr><br style="outline: none;" />47 <wbr><br style="outline: none;" />48 <wbr><br style="outline: none;" />49 <wbr><br style="outline: none;" />50 <wbr><br style="outline: none;" />51 <wbr><br style="outline: none;" />52 <wbr><br style="outline: none;" />53 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">//添加电话图标按钮 <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />UIButton <wbr>*btnPhone <wbr>= <wbr>[[UIButton <wbr>buttonWithType:UIButtonTypeCustom] <wbr>retain]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />btnPhone.frame <wbr>= <wbr>CGRectMake(280,10,30,30); <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />UIImage <wbr>*image <wbr>= <wbr>[UIImage <wbr>imageNamed:@"phone.png"]; <wbr> <wbr> <wbr> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[btnPhone <wbr>setBackgroundImage:image <wbr>forState:UIControlStateNormal]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />//点击拨号按钮直接拨号 <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[btnPhone <wbr>addTarget:self <wbr>action:@selector(callAction:event:)forControlEvents:UIControlEventTouchUpIns<wbr>ide]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[cell.contentView <wbr>addSubview:btnPhone]; <wbr> <wbr>//cell是一个UITableViewCell <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />//定义点击拨号按钮时的操作 <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />- <wbr>(void)callAction:(id)sender <wbr>event:(id)event{ <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSSet <wbr>*touches <wbr>= <wbr>[event <wbr>allTouches]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />UITouch <wbr>*touch <wbr>= <wbr>[touches <wbr>anyObject]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />CGPoint <wbr>currentTouchPosition <wbr>= <wbr>[touch <wbr>locationInView:self.listTable]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSIndexPath <wbr>*indexPath <wbr>= <wbr>[self.listTable <wbr>indexPathForRowAtPoint: <wbr>currentTouchPosition]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />if <wbr>(indexPath <wbr>== <wbr>nil) <wbr>{ <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />return; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSInteger <wbr>section <wbr>= <wbr>[indexPath <wbr>section]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSUInteger <wbr>row <wbr>= <wbr>[indexPath <wbr>row]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSDictionary <wbr>*rowData <wbr>= <wbr>[datas <wbr>objectAtIndex:row]; <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />NSString <wbr>*num <wbr>= <wbr>[[NSString <wbr>alloc] <wbr>initWithFormat:@"tel://%@",number]; <wbr>//number为号码字符串 <wbr> <wbr> <wbr> <wbr> <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[[UIApplication <wbr>sharedApplication] <wbr>openURL:[NSURL <wbr>URLWithString:num]]; <wbr>//拨号 <wbr> <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />} <wbr><br style="outline: none;" /><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><span style="word-wrap: normal; word-break: normal; line-height: 1.5em; font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"><span style="outline: none;">27、实现自定义的状态栏(遮盖状态栏)</span></span><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><a target=_blank href="http://www.devstore.cn/new/newInfo/1151.html#" target="_blank" name="url_31" style="text-decoration: none; color: rgb(62, 115, 160); font-family: 'Microsoft YaHei', 'Helvetica Neue', SimSun; font-size: 14px; line-height: 21px; background-color: rgb(188, 211, 229);">?</a><span style="word-wrap: normal; word-break: normal; line-height: 24px; font-size: 14px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif;"> <wbr></wbr></span><br style="font-size: 14px; outline: none; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; line-height: 24px;" /><table cellspacing="0" cellpadding="0" style="margin: 0px; padding: 0px; line-height: 24px; font-size: 14px; outline: none; border-collapse: collapse; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(224, 224, 224); width: 980px; color: rgb(51, 51, 51); font-family: 'Helvetica neue', Helvetica, sTheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="outline: none;"><tr style="outline: none;"><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">1 <wbr><br style="outline: none;" />2 <wbr><br style="outline: none;" />3 <wbr><br style="outline: none;" />4 <wbr><br style="outline: none;" />5 <wbr><br style="outline: none;" />6 <wbr><br style="outline: none;" />7 <wbr><br style="outline: none;" />8 <wbr><br style="outline: none;" />9 <wbr><br style="outline: none;" />10 <wbr><br style="outline: none;" />11 <wbr><br style="outline: none;" />12 <wbr><br style="outline: none;" />13 <wbr><br style="outline: none;" />14 <wbr><br style="outline: none;" />15 <wbr><br style="outline: none;" />16 <wbr><br style="outline: none;" />17 <wbr><br style="outline: none;" />18 <wbr><br style="outline: none;" />19 <wbr><br style="outline: none;" />20 <wbr><br style="outline: none;" />21 <wbr><br style="outline: none;" />22 <wbr><br style="outline: none;" />23 <wbr><br style="outline: none;" />24 <wbr><br style="outline: none;" />25 <wbr><br style="outline: none;" />26 <wbr><br style="outline: none;" />27 <wbr><br style="outline: none;" />28 <wbr><br style="outline: none;" />29 <wbr><br style="outline: none;" /></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td><td style="margin: 0px; padding: 0px 5px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; outline: none; word-break: break-all; word-wrap: break-word; height: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(224, 224, 224);">CGRect <wbr>frame <wbr>= <wbr>{{0, <wbr>0}, <wbr>{320, <wbr>20}}; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />UIWindow* <wbr>wd <wbr>= <wbr>[[UIWindow <wbr>alloc] <wbr>initWithFrame:frame]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[wd <wbr>setBackgroundColor:[UIColor <wbr>clearColor]]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[wd <wbr>setWindowLevel:UIWindowLevelStatusBar]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />frame <wbr>= <wbr>CGRectMake(100, <wbr>0, <wbr>30, <wbr>20); <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />UIImageView* <wbr>img <wbr>= <wbr>[[UIImageView <wbr>alloc] <wbr>initWithFrame:frame]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[img <wbr>setContentMode:UIViewContentModeCenter]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[img <wbr>setImage:[UIImage <wbr>imageNamed:@"00_0103.png"]]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[wd <wbr>addSubview:img]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[wd <wbr>makeKeyAndVisible]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[UIView <wbr>beginAnimations:nil <wbr>context:nil]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[UIView <wbr>setAnimationDuration:2]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />frame.origin.x <wbr>+= <wbr>150; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[img <wbr>setFrame:frame]; <wbr><br style="outline: none;" /> <wbr> <wbr> <wbr><br style="outline: none;" />[UIView <wbr>commitAnimations]; </wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></td></tr></tbody></table>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: