摘要: 步骤:1.在info.plist里加入UIBackgroundModes键,其值为数组,数组之一为voip字符串:<key>UIBackgroundModes</key><array><string>voip</string></array>2.在程序启动的时候调用- (void)setupBackgroundHandler函数,函数体如下:#pragma mark - VoIP- (void)setupBackgroundHandler{ if( UIUDeviceIsBackgroundSupported() ) { 阅读全文
posted @ 2012-05-25 15:53 小鼬就是我 阅读(17764) 评论(5) 推荐(0) 编辑