虽然在UIPageViewController中切换选项卡太快,但App会崩溃
[UIPageViewController queuingScrollView:didEndManualScroll:toRevealView:direction:animated:didFinish:didComplete:]
Run Code Online (Sandbox Code Playgroud)
有错误断言失败和由于未捕获的异常'NSInternalInconsistencyException'终止应用程序,原因:'没有视图控制器管理可见视图.
错误记录如下
*** Assertion failure in -[UIPageViewController queuingScrollView:didEndManualScroll:toRevealView:direction:animated:didFinish:didComplete:], /SourceCache/UIKit/UIKit-3318.0.1/UIPageViewController.m:1875
2014-09-29 11:34:00.770 Wowcher[193:9460] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'No view controller managing visible view <UIView: 0x1783fa80; frame = (0 0; 320 416); autoresize = W+RM+H+BM; layer = <CALayer: 0x17898540>>'
*** First throw call stack:
(0x219fbf87 0x2f15ac77 0x219fbe5d 0x226cb2c9 0x253f9fff 0x2546f8d3 0x2546f6b7 0x2546c2b9 0x254700db 0x25470f97 0x2546d037 0x24ea925f 0x2500a589 0x24ff7eef 0x24ea677d 0x252b8c81 0x24e70105 0x24e6e07f 0x24ea4b6d 0x24ea443d 0x24e7acc5 0x250ee513 0x24e79707 0x219c2807 0x219c1c1b 0x219c0299 0x2190ddb1 0x2190dbc3 0x28c99051 0x24ed9a31 …Run Code Online (Sandbox Code Playgroud) 我在我的iOS应用程序中使用过Omniture/DTM最新的SDK,我已经按照marketing.adobe.com提供的迁移文档,所有日志都按照我们的要求请求Adobe服务器 - 但事件,页面浏览量和购买项目不是反映在Omniture仪表板中.
我已经在iOS应用程序中集成了MMDrawerController库,现在我需要恢复应用程序状态,即使应用程序在后台被杀死(仅当应用程序从前台输入到后台时),它在正常的导航应用程序中工作正常但是当我在我的应用程序中使用" setCenterViewController "选项更改导航,恢复无法按预期工作,并且我已按照此链接中提供的所有说明操作:" https://developer.apple.com/library/ios/featuredarticles/ViewControllerPGforiPhoneOS/PreservingandRestoringState.html "
我已经使用了setCenterViewController选项(推荐来自MMDrawer)导航到特定的屏幕,然后在后台删除应用程序,当我们重新打开它时会启动默认的初始屏幕,但我们期望它应该在进入背景之前重新打开屏幕.
这是代码片段:
AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
appDelegate.homeController.navigationController.navigationBarHidden = YES;
HomeViewController *homeVC = [[HomeViewController alloc] initWithNibName:@"HomeViewController" bundle:nil];
UINavigationController *_navg = [[UINavigationController alloc]initWithRootViewController:homeVC];
_navg.restorationIdentifier = @"homeNavigationController";
homeVC.title = [self.dataSource objectAtIndex:indexPath.row]; homeVC.restorationIdentifier = @"HomeViewController";
[appDelegate.drawerController setCenterViewController:_navg withCloseAnimation:YES completion:nil];
self.currentViewController = _navg;
self.currentViewController.restorationIdentifier = @"homeNavigationController";
Run Code Online (Sandbox Code Playgroud)
帮我解决这个问题.
我已经在我的应用程序中集成了AFNetworking库以从URL下载图像,当我们加载多个图像时,应用程序崩溃了.
当我使用Xcode崩溃报告列表(Xcode - > Window - > Organizer - > Crashes - >我们的应用程序)分析我的代码时,它在AFNetworking库中显示这行代码的错误:
课程:
UIImageView+AFNetworking方法名称:
setImageWithURLRequest代码行:
[[[self class] af_sharedImageRequestOperationQueue] addOperation:self.af_imageRequestOperation];
任何人都可以帮我解决这个问题吗?
我面临的问题是,在上传应用程序时,它会在下面显示警告 Appstore
App references non-public selectors in payload/AppName:consume
Run Code Online (Sandbox Code Playgroud)
任何帮助表示赞赏.
我上传了有上述警告的应用程序,我的应用程序是否会被Apple拒绝?
consume:是Omniture Library中使用的方法,我该如何克服这个问题.
