iOS提供两种等待指示器:等待指示器控件(UIActivityIndicatorView)和网络等待指示器。下面介绍UIActivityIndicatorView的使用:1、使用目的:APP请求网络资源,请求的数据需要一段时间才能返回,为了给用户更好的体验,使用等待指示器。2、使用方式\方法:从技术...
分类:
其他好文 时间:
2014-05-10 08:33:08
阅读次数:
463
NS_CLASS_AVAILABLE_IOS(6_0) UIRefreshControl
有个毛病有时会出bug 动画下拉就不动了,这里给出修复处理:@interface UICollectionView
(FixRefreshControlJump)@end#import "UICollectio...
分类:
移动开发 时间:
2014-05-10 07:44:40
阅读次数:
529
转自:http://blog.sina.com.cn/s/blog_60b45f230100yiaf.html用此方法传值可以替代委托了。具体例子:MainView.h#import
@interface MainView : UIViewController{ IBOutlet UIButt...
分类:
移动开发 时间:
2014-05-10 07:43:17
阅读次数:
403
iCloud是苹果的云服务技术,它的重点是提供数据的存储服务。苹果为每个用户免费提供5GB的云服务空间。iCloud被整合到iOS
5和Mac OS X v10.7.4中,使用这些设备的用户,只需要在多个设备中设置苹果账号(Apple
ID)就可以同步、共享和备份数据。例如:我的iPhone手机上的...
分类:
其他好文 时间:
2014-05-10 06:32:24
阅读次数:
337
This week I setup the Jenkins on my Mac and try
to build iOS applications. unfortunately I got the code signing issues, either I
use xcode plugin or x...
分类:
移动开发 时间:
2014-05-10 06:22:45
阅读次数:
347
tableView 实现的方法 无分组的cell
#pragma mark - Table view data source
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
return self.contacts.count;
}
- (UITable...
分类:
移动开发 时间:
2014-05-09 21:03:32
阅读次数:
424
在 mkfs.ext4 /dev/sda2 格式化硬盘空间时,可能出现这样的错误。
had this situation at office where I was told to re-partition an already existing partition. The situation was to get the below schema
/dev/sdb1 1 3040 24...
分类:
其他好文 时间:
2014-05-09 20:49:25
阅读次数:
343
使用block的另一个用处是可以让程序在后台较长久的运行。在以前,当app被按home键退出后,app仅有最多5秒钟的时候做一些保存或清理资源的工作。但是应用可以调用UIApplication的beginBackgroundTaskWithExpirationHandler方法,让app最多有10分...
分类:
移动开发 时间:
2014-05-09 19:50:04
阅读次数:
321
《iOS 7 应用开发实战详解》基本信息作者: 朱元波
管蕾出版社:人民邮电出版社ISBN:9787115343697上架时间:2014-4-25出版日期:2014
年5月开本:16开页码:382版次:1-1所属分类:计算机 > 软件与程序设计 > 移动开发 > iPhone更多关于》》》《iOS ...
分类:
移动开发 时间:
2014-05-09 19:31:50
阅读次数:
449
在上一个例子中,元素的类名使用拼接的方法,这样,类名中就不得不带有true或false,并且不易维护,所以,angular使用ng-class属性来控制元素的类名:我们来看一个小例子,点击error按钮,顶部提示错误框,点击warning按钮,顶部提示警告框.错误框的类名是.err,警告框的类名是....
分类:
Web程序 时间:
2014-05-09 19:30:28
阅读次数:
523