我遇到问题,我使用ios 5构建分发版应用程序,如上所述,当我将二进制应用程序上传到iTunes时,它报告错误如下:
"此捆绑包无效,info.plist中的密钥UIRequiredDeviceCapabilities可能不包含阻止此应用程序运行的值......"
我也googing这种类型的问题,我得到答案,说我必须从iTunes中删除旧版本的应用程序(这将丢弃旧的应用程序用户和评级)并上传新的应用程序到iTunes ...这种方式看起来很糟糕的解决方案,我想保持旧应用用户...任何人都可以为此目的提供帮助?十分感谢
我正在构建一个可以拨打电话的应用程序.如何在模拟器上测试此功能?我打电话时没有回复openURL.虽然这当然适用于实际的设备.
还有可能知道iPhone目前是否处于呼叫模式?
作为主题......有可能吗?
谢谢
再次,我附上了如下代码,请检查哪一步是错误的.谢谢.
//@step
AudioSessionInitialize (NULL, NULL, NULL, NULL);
AudioSessionSetActive(true);
UInt32 sessionCategory = kAudioSessionCategory_MediaPlayback;
OSStatus error = AudioSessionSetProperty (kAudioSessionProperty_AudioCategory, sizeof(sessionCategory),&sessionCategory);
if (error)
printf("ERROR AudioSessionSetProperty ! %d\n", error);
//@step
NSString* filePath = @"AlarmClockBell.caf";
[Util restoreResourceFile:filePath];
filePath =[Util getFileFullPathFromSysDoc:filePath];
NSURL *soundFileURL = [NSURL fileURLWithPath:filePath];
NSError* error ;
AVAudioPlayer * audioPalyer = [[AVAudioPlayer alloc] initWithContentsOfURL: soundFileURL error: &error];
if (nil == audioPalyer)
{
AppTrace3(self, @"Faild to play", soundFileURL, error);
return FALSE;
}
[audioPalyer prepareToPlay];
[audioPalyer setVolume: 5 ];
[audioPalyer setDelegate: self];
audioPalyer.numberOfLoops = …Run Code Online (Sandbox Code Playgroud) 使用网络远程或其他?
我想要样本方式,我认为没有套接字或其他更容易部署...
无论如何,请帮忙,谢谢.
我想要iPhone应用程序图标和图形(不仅是跳板上的应用程序图标,还有应用程序内部视图)在OS3设备和OS4视网膜设备上自动相遇,它是否存在自动满足但编码的方式?我知道我们可以在setting.plist中设置图标configure来定义跳板上的不同应用程序图标,但似乎无法设置应用程序的内部图标或图形....