Archive. This is an archive of the Apple Support Community. Discussions are being restored and soon you will be able to read and post here again.

iPhone app automatically restores old account data after reinstallation

How Do I Completely Reset an App's Saved Data on iPhone?

Hi everyone,

I'm having a weird issue with an app on my iPhone, and I can't figure out what's causing it.

When I first registered, I signed up with my email, and the app generated a 12-word recovery phrase that I needed to restore my account.

I originally created my first account on my Android phone and then restored the same account on my iPhone using the recovery phrase. Everything worked perfectly for a long time.

Later, I created a second account on Android because I wanted to keep my funds in one account and use the other for spending.

Here's the problem: Whenever I try to access my second account on my iPhone, it automatically opens my old account instead. Even if I delete and reinstall the app, it still restores the same account without giving me any option to enter a different recovery phrase. There's no logout or account-switching option anywhere!

I initially suspected that iCloud was syncing my old account, so I turned off iCloud Backup for the app and even deleted its backup data through iCloud Storage settings, but nothing changed.

I'm wondering if iOS is somehow preserving the app's data through iCloud Keychain or another mechanism, even after the app has been deleted.

Has anyone experienced something similar? Is there a way to clear an app's saved account state on an iPhone and restore a different account without affecting the first one?

Any help would be greatly appreciated. Thanks!

4 replies

If there are apps on Apple's App Store that allow users to create an account but do not provide an obvious Log Out or Sign Out option. However, there is an important distinction between an app that genuinely has no logout option and one where the option is difficult to find.


What does Apple's policy say?


According to Apple’s App Review Guidelines - Apple Developer, apps that support account creation must also offer users a way to initiate account deletion within the app. This requirement has been in effect since June 30, 2022. 



However, Apple's requirement to provide an account deletion option is not the same as a requirement to provide a Log Out button. Therefore, the absence of a logout option does not, by itself, establish that an app violates 


Apple's guidelines.


Why might an app have no logout option?

  1. Persistent login: The app keeps the user signed in until the session expires or the user takes another action.
  2. Hidden logout option: The option may be under Profile, Account, Settings or Security.
  3. Account switching: The app may offer a way to switch accounts instead of explicitly signing out.
  4. Limited account controls: The developer may have overlooked or failed to implement a conventional logout function.


What can you do if an app has no logout option?


  1. Check the app's Profile, Settings, Account and Security sections.
  2. Look for an account-management page on the developer's official website.
  3. Contact the developer and ask how to sign out of the account.
  4. If your objective is to remove your account and associated data, look for the in-app account deletion option. Deleting the app alone does not necessarily delete your account or server-side data. 
  5. Contact the app developer for support. If you cannot find a Log Out or Sign Out option, contact the app developer through the contact details provided on the App Store product page. Ask them how to sign out of your account or switch to another account. If the app does not provide a logout option, request clarification from the developer on how account sessions are managed and whether signing out is supported.


If you have used two different accounts to sign in to an app on your iPhone, it is advisable to log out of the account within the app before deleting the app from iOS. The sequence is important: log out first, and then delete the app.


Follow these steps:

  1. Open the app and navigate to its settings or account section.
  2. Log out of your account. If you have used multiple accounts, check whether the app provides an option to log out of all accounts.
  3. Delete the app from your iPhone by touching and holding its icon, selecting Remove App, and then choosing Delete App.
  4. Reinstall the app from the App Store.
  5. Sign in using either of your two accounts, depending on which account you want to use.


Why is the sequence important?

iOS does not normally retain an app's local data in its app container after the app is deleted. When you delete an app, iOS removes the app and its associated local data, subject to certain exceptions, such as information stored separately in iCloud Keychain.


However, the app developer's servers may retain information about your previous sessions, including the account you last used on a particular device. Depending on how the app is designed, it may associate a device with a previously used account and restore that account's login experience when you reinstall the app.


This is where logging out before deleting the app becomes important. Logging out properly ends the active session and informs the app's service that you have signed out. This may prevent the app from automatically restoring your previous session or prioritising the previously used account when you reinstall it.


However, logging out does not necessarily erase every record of the device-account association from the developer's servers. That depends on the app's implementation.


Does the same principle apply to other apps?

Yes, the general principle applies to many third-party apps that support multiple accounts, including Instagram, Facebook, and other social media applications.


The exact behaviour varies from app to app, but the recommended sequence remains:


Log out of the account → Delete the app → Reinstall the app → Sign in with your preferred account.


This approach helps ensure that you end your existing session properly before reinstalling the app and choosing which account to use next.


One important distinction: Deleting an app is not the same as deleting your account. Your account and the information stored on the developer's servers remain intact unless you separately request account deletion.

  1. Is this your corporate/organisation/enterprise/School Management iPhone? Then please contact the system administrator of your corporate//organisation/enterprise/School Management
  2. If it is your device, in that case, do you have any profile installed by your corporate/organisation/enterprise/School Management?
    1. Erase the profile added by you If you have installed a profile on your own --> Install or remove configuration profiles on iPhone - Apple ...
    2. Or please contact the system administrator of the organisation who provided the profile to you



A corporate profile installed on your iPhone could potentially be contributing to the inaccessibility of certain features. 

Here's why:

  • Restrictions: Corporate profiles can have restrictions placed on apps and functionalities. These restrictions might be limiting some activity, causing it to be unresponsive or quit.
  • Managed Apps: IT departments might deploy specific navigation apps through the profile, potentially blocking certain functions or features.
  • Security Settings: Corporate profiles often have stricter security settings that could affect app or function behavior. This might be causing unexpected behavior of an App or functions.


Here's what you can do:

  • Check with IT: The best course of action is to contact your IT department. They can explain the restrictions set by the corporate profile and see what is affected. They might be able to adjust settings or suggest alternative apps or features approved for corporate use.
  • Look for App Conflicts: See if your IT department uses a different app through the corporate profile. Conflicting apps might cause crashes.


Additional points to consider:

  • Even if the profile isn't directly affecting the function, it's still a good idea to check with IT. They might be aware of similar issues and have workarounds.
  • While troubleshooting, make sure you prioritize safety. Don't fiddle with your phone. 


By working with IT and considering these possibilities, you can hopefully identify if the corporate profile is the culprit and find a solution that allows you to use the iPhone to your liking.


Hi,

Thanks for your explanation, unfortunately the apps don’t have a logout option