How to create text file at ipa path

  1. 4 weeks ago

    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.

  2. Emile S

    Jul 26 Europe (France, Strasbourg)

    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 ?

  3. Jeff T

    Jul 26 Pre-Release Testers Midlands of England, Europe

    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....' )

  4. Jason K

    Jul 26 Pre-Release Testers

    @Jeff T 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....' )

    Jeff is correct. App data is deleted when you uninstall the app.

or Sign Up to reply!