IPhone – Retrieve the Apple ID used to download a given app (in iphone)

apple-idapplicationsiphone

I have an iphone, which has some apps installed. The Apple ID used to sign in (to iTunes store and App strore) is, say, ID1.
When updating apps, in some cases it asks for the password of another ID, say, ID2.

Is there any way to know what Apple ID is associated with each app?

I know that I can remove an app and purchase it under a different ID (which may have cost), and I know that there exists Family sharing, but that does not answer the question.

This is a related question.

Best Answer

On your phone you can use the Setting app to set the default ID for App Store under "iTunes and App Store"

Set ID1.

Open App Store -> Updates. At the top you can click Purchased to see all apps purchased with that account.

Then, go back to settings, sign in to ID2, and go back to the App Store and check to see ID2s list.