小编Car*_*hen的帖子

iOS 7.1(MPAVItem)上的MediaPlayer崩溃

我正在使用UIWebview在我的iOS应用程序上播放YouTube视频,在iOS 7.1发布之后,我收到了大量关于崩溃的报告:

Exception Type:  EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  1

Thread 0:
0   libobjc.A.dylib                 0x393dd637 objc_msgSend + 23
1   Foundation                      0x2f563d57 +[NSConcreteNotification     newTempNotificationWithName:object:userInfo:] + 119
2   Foundation                      0x2f563ca9 -[NSNotificationCenter     postNotificationName:object:userInfo:] + 45
3   Foundation                      0x2f5685c3 -[NSNotificationCenter     postNotificationName:object:] + 27
4   MediaPlayer                     0x2feb17b9 __53-[MPAVItem     _playerItemNewAccessLogEntryNotification:]_block_invoke + 69
5   libdispatch.dylib               0x398bcd51 _dispatch_call_block_and_release + 9
6   libdispatch.dylib               0x398bcd3d _dispatch_client_callout + 21
7   libdispatch.dylib               0x398bf6bf _dispatch_main_queue_callback_4CF + 275
8   CoreFoundation                  0x2ec0d675 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 5
9   CoreFoundation                  0x2ec0bf41 __CFRunLoopRun + 1305 …
Run Code Online (Sandbox Code Playgroud)

objective-c crash-reports uiwebview media-player ios7

7
推荐指数
1
解决办法
808
查看次数