Why does my plist file exist even when I've uninstalled an app and wiped the simulator?
<p>I am trying to detect the existence of a plist file on application start.  When my data class (descendant of NSObject) is initialized, it loads the plist file.</p>

<p>Before it loads, it checks to see if the file exists, and if it doesn't, it sets the data = nil instead of trying to process the array of data in the plist file.</p>

<p>However, every time it starts it indicates the file exists.  Even when I uninstall the app in the organizer <strong>and</strong> when wiping the simulator directory (iPhone Simulator/3.0/Applications).</p>

<p>I have the following static method in a library class named FileIO:</p>

<pre><code>+(BOOL) fileExists:(NSString *)fileName {
    NSString *path = [FileIO getPath:fileName]; // gets the path to the docs directory
    if ([[NSFileManager defaultManager] fileExistsAtPath:path]) return YES;
    else return NO;
}
</code></pre>

<p>In my data class:</p>

<pre><code>//if( [FileIO fileExists:kFavorites_Filename] ) [FileIO deleteFile:kFavorites_Filename];
if ([FileIO fileExists:kFavorites_Filename]) {NSLog(@"exists");
</code></pre>

<p>The "exists" is logged every time unless I un-comment the method to delete the file.</p>

<p>How can the file exist if I've deleted the app?  I've deleted the simulator directory and uninstalled on the device but both say it still exists.</p>

<p>What gives???</p>
