How to create text file at ipa path

i am new to xojo ios development.
i want to create a simple text file when i run app first time. Then i will update that file every time when run application.

I can create a file in Special Folder (Documents). But i think it will not get deleted when i uninstall my app.

so what i want is create a file at application path which will get deleted when user uninstall app.

There are plenty files that the OS creates for your application (at that application run time) they stays after you delete that application.

Beside adding a speial uninstaller application, I do not know how you can achieve that.

Someone ?

AFAIK on iOS, each app lives in a sandbox.
It has its own documents folder
Deleting an app on iOS deletes the app and the documents folder too.

(cue someone replying ‘well, actually…’ )

[quote=446780:@Jeff Tullin]AFAIK on iOS, each app lives in a sandbox.
It has its own documents folder
Deleting an app on iOS deletes the app and the documents folder too.

(cue someone replying ‘well, actually…’ )[/quote]
Jeff is correct. App data is deleted when you uninstall the app.