0

So, there is an app installed on the device. It contains a plist to store all the details. Is it possible to access that particular plist from another application? Where it will be residing? I found this code could be used for it!! Is it really possible? Or any other workaround to get it?

NSString *documentdir = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject];
NSString *tileDirectory = [documentdir stringByAppendingPathComponent:@""];
NSLog(@"Tile Directory: %@", tileDirectory);

Even if I can find the path of that particular plist, would I be able to read it?

EDIT:

My Objective:

I have one app that uses plist to store data, this app uploads the data to a server.

Somehow this app failed to upload certain data available in the plist.

Now i need to get this data stored in the plist.

The app is not configured with iCloud,..

Any suggestions on how the data from the plist can be retrieved?

4

1 回答 1

1

您提供的代码将被锁定到未越狱设备上的应用程序。确实可以在越狱手机上列出路径并找到其他应用程序的 plist。一般回答:不,这是不可能的。

于 2012-10-03T14:47:13.550 回答