上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 39 下一页

2014年6月24日

iOS 遍历控件

摘要: NSArray *subviews = [_bgImageView subviews]; for (id objInput in subviews) { if ([objInput isKindOfClass:[UITextField class]]) { ... 阅读全文

posted @ 2014-06-24 15:13 Hai_阔天空 阅读(906) 评论(0) 推荐(0)

2014年6月23日

iOS 状态栏更改为白色

摘要: 如果觉得在iOS 7启动期间状态栏黑色不合你意,以下方法可改变Status bar style成白色在工程的plist添加 Status bar style,改变style值默认是Gray style,选择后面两个任意一个都可以改变之后启动图:更多方法请参考:1.http://stackoverfl... 阅读全文

posted @ 2014-06-23 09:20 Hai_阔天空 阅读(422) 评论(0) 推荐(0)

2014年6月18日

iOS UIModalPresentationFormSheet风格下的键盘隐藏

摘要: 1. 在UIModalPresentationFormSheet(iPad device,without a UINavigationController)下的视图中,如果使用[inputView resignFirstResponder];是不能把Keyboard收起的,需要使用以下的方式:A: ... 阅读全文

posted @ 2014-06-18 14:24 Hai_阔天空 阅读(544) 评论(0) 推荐(0)

2014年6月16日

iOS Xcode之SVN(remove git)

摘要: 项目用SVN比较多,所以大家都把精力放在如何在XCODE上使用SVN。配置SVN当然是很简单,但提交都默认出现git的提交窗,否则要到repositories界面去提交。目前没有找到什么更好的办法,就做了两个处理:1.在Repositories里面把 相应的 git相关的项目目录移除(见界面左下角的... 阅读全文

posted @ 2014-06-16 17:41 Hai_阔天空 阅读(412) 评论(0) 推荐(0)

2014年6月10日

iOS 如何在一个应用程序中调用另一个应用程序

摘要: 原则上iOS的沙箱原理,是阻止一个app去访问其他app的资源乃至是系统底层的资源的但是我们可以通过一种变相的方式:通过对应的URL模式和其他程序进行通讯.iOS应用之间的调用步骤:一,调用自己开发的应用1)在plist文件中,注册对外接口在xcode group&files里面,展开resourc... 阅读全文

posted @ 2014-06-10 15:30 Hai_阔天空 阅读(1328) 评论(0) 推荐(0)

2014年6月6日

xmpp muc 群聊协议 4

摘要: 7.Occupant Use CasesThe main actor in a multi-user chat environment is the occupant, who can be said to be located "in" a multi-user chat room and to ... 阅读全文

posted @ 2014-06-06 16:05 Hai_阔天空 阅读(3078) 评论(0) 推荐(0)

xmpp muc 群聊协议 3

摘要: 6.Entity Use CasesA MUC implementation MUST supportService Discovery[7].服务端必须实现 service discover6.1Discovering Component Support for MUC发现服务器是否支持mucA ... 阅读全文

posted @ 2014-06-06 16:03 Hai_阔天空 阅读(970) 评论(0) 推荐(0)

xmpp muc 群聊协议 2

摘要: Roles and AffiliationsThere are two dimensions along which we can measure a user's connection with or position in a room. One is the user's long-lived... 阅读全文

posted @ 2014-06-06 16:02 Hai_阔天空 阅读(525) 评论(0) 推荐(0)

xmpp muc 群聊协议 1

摘要: 翻译来自 :http://wiki.jabbercn.org/index.php?title=XEP-0045&variant=zh-cn#.E6.9C.AF.E8.AF.AD通用术语Affiliation(岗位)-- 一个长期存在的和房间之间的联系或连接; 可能的岗位有 "owner"(所有者),... 阅读全文

posted @ 2014-06-06 16:01 Hai_阔天空 阅读(636) 评论(0) 推荐(0)

2014年5月26日

iOS tableview滑动到底部自动加载,向上拽加载

摘要: - (void)scrollViewDidScroll:(UIScrollView *)aScrollView { CGPoint offset = aScrollView.contentOffset; CGRect bounds = aScrollView.bounds; CGS... 阅读全文

posted @ 2014-05-26 16:35 Hai_阔天空 阅读(2931) 评论(0) 推荐(0)

上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 39 下一页

导航