上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 25 下一页
摘要: - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath{ if (indexPath.section == 0) { return NO; } ... 阅读全文
posted @ 2015-06-16 14:58 apem 阅读(327) 评论(0) 推荐(0) 编辑
摘要: xocde7的autolayout 在viewDidLoad之前, 使用frame改变布局是没有用的, 简单的视图才可以使用autolayout, 稍微复杂写的都要使用代码来编写 获取当前view的宽度不再是使用self.view.frame.size.width, 因为autolayout下获取w 阅读全文
posted @ 2015-06-13 16:50 apem 阅读(749) 评论(0) 推荐(0) 编辑
摘要: 一. 编写sharesdk代码在AppDelegate.m中//shareSDK相关#import #import "WeiboApi.h"#import "WeiboSDK.h"#import #import #import "WXApi.h"[ShareSDK registerApp:@"3df... 阅读全文
posted @ 2015-06-13 16:34 apem 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 自动布局之autoresizingMask使用详解(Storyboard&Code)http://www.cocoachina.com/ios/20141216/10652.html必须禁用autolayout才能使用autoresizingMask前言:现在已经不像以前那样只有一个尺寸,现在最少的... 阅读全文
posted @ 2015-06-12 14:52 apem 阅读(279) 评论(0) 推荐(0) 编辑
摘要: Xcode 6制作动态及静态Frameworkhttp://www.cocoachina.com/ios/20141126/10322.html有没有写SDK或者要将一些常用的工具类做成Framework的经历? 你或许自己写脚本完成了这项工作,相信也有很多的人使用 iOS-Universal-Fr... 阅读全文
posted @ 2015-06-11 16:38 apem 阅读(2566) 评论(0) 推荐(1) 编辑
摘要: ios 中sizeof(类型) 获取类型所占字节32位操作系统中, 每个字节占8个位64位操作系统中, 每个字节占16个位INT_MAX 2147483647int size1 = sizeof(long); //32位 4, 64位 8int size2 = sizeof(NS... 阅读全文
posted @ 2015-06-10 17:44 apem 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 自动调整scrollview的insets为0, 然后scrollview就不会向下偏移64pxself.automaticallyAdjustsScrollViewInsets = NO;导航栏透明: self.navigationController.navigationBar.alpha =... 阅读全文
posted @ 2015-06-01 14:32 apem 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 录音和播放//播放AVAudioSession配置self.session = [AVAudioSession sharedInstance];NSError *sessionError = nil;[self.session setCategroy:AVAudioSessionCategroyPl... 阅读全文
posted @ 2015-05-28 14:15 apem 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 新开的项目需要先开发iOS版本,所以又把好久没写的iOS捡起来了,之前都是手动注释,最近是越来越懒了,所以在网上找了一个自动注释的插件,啊哈,其实有时候还真的挺怀念用Eclipse的时候,不过不用羡慕了,简单地配置一下就很方便了。这里使用的是VVDocumenter-Xcode,地址是:https:... 阅读全文
posted @ 2015-05-28 11:25 apem 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 移动后台:bmobhttp://baike.baidu.com/link?url=GHdwJY3cGygcfQDdzosckQnhVy1pvIGZA2Ws0K26lSSFGu7QRX4R1wlo6E70zo2_BoOYBl_giNEJfNMtHGQCI_ 阅读全文
posted @ 2015-05-26 16:39 apem 阅读(202) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 25 下一页