开发者

access iphone settings

开发者 https://www.devze.com 2023-02-10 10:11 出处:网络
I have saved an musicfile in the iphone path called-\"/var/mobile/Applications/92B12BF1-88E1-4FD5-93DC-8311EC3B072A/Music\" programmatically .Can I see those files in the iphon开发者_JAVA百科e ?.Pleas

I have saved an musicfile in the iphone path called-"/var/mobile/Applications/92B12BF1-88E1-4FD5-93DC-8311EC3B072A/Music" programmatically .Can I see those files in the iphon开发者_JAVA百科e ?.Please tell me ,thanks in advance


Yes, you can set in your Info.plist the itunes file sharing property, which will make all files in your app's Documents directory visible to users, both to copy to the desktop and to save files from the desktop to the phone: "Application supports itunes file sharing" and check the box.

access iphone settings


Not unless you jailbreak the phone. Other options are

1) store your file under <Application_Home>/Documents, then you can fetch the file from iTunes. You need to set UIFileSharingEnabled key in your Info.plist to YES.

2) run your program in your iOS simulator and examine the file.


92B12BF1-88E1-4FD5-93DC-8311EC3B072A is a GUID, which means it will change.

Second, the only way for you to "view" files outside of your applications sandbox is to be jailbroken.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号