Tag: 设备

在iOS中获取设备ID或Mac地址

我有一个应用程序,使用其余的服务器通信,我想要获得的IPHONE MAC地址或唯一性validation的设备ID,如何做到这一点?

应用程序不会自动启动设备,并在xcode上出现错误

我在Xcode 4.5上遇到了一个奇怪的错误。 当我试图从iOS 6的iOS上运行我的应用程序,我得到这个错误。 我做了以下方法来运行应用程序,但没有运气。 清理项目并运行 重新启动设备 重新启动xcode 我在我的机器上有一个有效的证书,应用程序正在安装在设备上,但它不会自动启动。 可能是什么问题 ? 提前致谢

Xcode错误信息:“无法检查应用程序包”

我试图在设备上运行我的应用程序,但我收到以下错误消息“无法检查应用程序包”,该应用程序已成功运行在设备上,但随后停止,它仍然成功build立。 其他应用程序运行良好。 这是控制台的错误。 Dec 1 1 14:08:13 Marafeti kernel [0]:lockbot [567]内置configuration文件:gputoolsd(沙盒)Dec 1 14:08:28 Marafeti installd [31]:0x2ff7c000 handle_install:安装“/ var / mobile / Media / PublicStaging / demoMus.app“mobile_installation_proxy Dec 1 14:08:28 Marafeti installd [31]:0x2ff7c000 peruse_package:从”/var/tmp/install_staging.44DhXc/demoMus.app“加载的应用程序信息字典没有包标识符Dec 1 14:08:28 Marafeti installd [31]:0x2ff7c000 stage_package:无法在/var/tmp/install_staging.44DhXc/demoMus.app 12月1 14:08:28 Marafeti installd [31]:0x2ff7c000移动软件包MobileInstallationInstall_Server:不能安装失败Dec 1 14:08:29 Marafeti mobile_installation_proxy [572]:0x39dbeb88 MobileInstallationInstall:失败,-1 -1 Dec 1 14:08:28 Marafeti […]

如何在iOS上更改设备音量 – 而不是音乐音量

我想更改iOS(iPhone)上的设备音量。 我知道我可以用下面这行代码来改变音乐库的音量: //implement at first MediaPlayer framework MPMusicPlayerController *musicPlayer = [MPMusicPlayerController iPodMusicPlayer]; musicPlayer.volume = 1; 但那不是我的目标。 我想改变设备音量或让我说铃声的音量。 我怎样才能做到这一点? 只需更改DEVICE音量?