IOS 实现后台运行 ios后台运行 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 [NSTimer scheduledTimerWithTimeInterval:600 target:self selector:@selector(timerFireMethod:) userInfo:nil repeats:NO]; 再实现一个指定的selector方法就行了:-(void)timerFireMethod:(NSTimer*)theTimer { NSURL *url=[NSURL URLWithString:@"toapp://com.to.app""]; [[UIApplication sharedApplication]openURL:url];} 这个貌似无法实现,在ios中,如果你的应用退到后台。苹果会在10分钟后清理这个应用。 本帖最后由 totogo2010 于 2014-08-19 09:29:10 编辑 iOS 6 不走shouldAutorotateToInterfaceOrientation:方法的解决办法 setNeedsDisplay做了什么,为什么我这段代码会出问题? 用UIViewController怎么进行逐帧绘制? 关于UIPickerView,一些疑问,困扰了我昨天7个小时了,悲剧 使用Core Data不知道怎么更新数据!!! 求解· 求指教,UIScrollView 中UIPageControl问题 【求助】开发IAP(程序内购买)程序时遇到的账号验证问题 在线选座位是怎么实现的?iOS iOS应用安装更新的问题 ios 封装afnetworking请求网络数据 为什么[UIImagePickerController isSourceTypeAvailable的值为NO 新手学习ios开发的误区
[NSTimer scheduledTimerWithTimeInterval:600 target:self selector:@selector(timerFireMethod:) userInfo:nil repeats:NO]; 再实现一个指定的selector方法就行了:-(void)timerFireMethod:(NSTimer*)theTimer {
NSURL *url=[NSURL URLWithString:@"toapp://com.to.app""];
[[UIApplication sharedApplication]openURL:url];
}