我正试图在我的iOS应用程序上显示横幅广告和插页式广告.但现在我对广告网络感到困惑.AdMob与DFP有何不同,哪个更适合投放广告.有人可以帮忙吗?提前致谢.
在发布我的iOS应用程序的新版本后,我经常遇到以下崩溃.
崩溃:WebThread EXC_BAD_ACCESS KERN_INVALID_ADDRESS位于0x80000012
这是令人恼火的崩溃之一,其中堆栈跟踪没有提供任何与其崩溃或导致崩溃的原因相关的线索.一个主要的问题是这次崩溃只发生在iOS8中.请在下面找到堆栈跟踪:
0 libobjc.A.dylib objc_msgSend + 5 release
1 CoreFoundation CFRelease + 600
2 QuartzCore CA::release_objects(X::List<void const*>*) + 16
3 QuartzCore -[CAAnimation dealloc] + 54
4 libobjc.A.dylib objc_object::sidetable_release(bool) + 166
5 libobjc.A.dylib (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 404
6 CoreFoundation _CFAutoreleasePoolPop + 16
7 Foundation -[NSAutoreleasePool drain] + 122
8 CFNetwork AutoAutoreleasePool::~AutoAutoreleasePool() + 24
9 CFNetwork ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 166
10 CFNetwork RunloopBlockContext::_invoke_block(void const*, void*) + 60
11 CoreFoundation CFArrayApplyFunction + 36
12 CFNetwork RunloopBlockContext::perform() + 182
13 CFNetwork MultiplexerSource::perform() …Run Code Online (Sandbox Code Playgroud) 在我的应用程序中,我正在加载一些嵌入了照片和视频的网页.我也使用以下通知来管理播放器,
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(embeddedVideoStarted:) name:@"UIMoviePlayerControllerDidEnterFullscreenNotification" object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(embeddedVideoEnded:) name:@"UIMoviePlayerControllerWillExitFullscreenNotification" object:nil];
Run Code Online (Sandbox Code Playgroud)
这在iOS7中运行良好,但在iOS8中它不起作用.任何解决方法?提前致谢.
如何在Xcode 6中创建.xcarchive文件.在以前版本的Xcode中,我们可以直接从Organizer导出它,但在Xcode6中没有从Organizer导出xcarchive文件的选项.
Xcode 5
Xcode 6 GM