SRI
SRI

Reputation: 1532

access iphone settings

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 iphone ?.Please tell me ,thanks in advance

Upvotes: 0

Views: 289

Answers (3)

WrightsCS
WrightsCS

Reputation: 50697

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.

Upvotes: 0

MHC
MHC

Reputation: 6405

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.

Upvotes: 1

Bogatyr
Bogatyr

Reputation: 19323

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.

enter image description here

Upvotes: 1

Related Questions