Not a lot of people who own an iPhone, iPad and iPod Touch know that signing out is possible on their iOS device. After you have signed out, you can always use a different Apple ID to log in.
Here are the steps to follow to logout from App Store account on your iOS device.
Step 1: Tap on Settings icon.
Step 2: Scroll down to find Store. Tap on it.
Step 3: Assuming you are already logged in, tap on your Apple email ID.
Step 4: A alert box pops up, displaying the option to View Apple ID, Sign Out, iForgot (to retrieve forgotten password) and Cancel. Tap on Sign Out.
Once you have logged out, you can always sign back in using a different Apple username and password.
Signing out of App Store account can save you from a lot of trouble. If you use iTunes on your Mac (or Windows) to download apps to transfer them to your iOS device later, then you should know that both the devices should have the same Apple ID.
If that’s not the case, your purchased app will not be transferred. Instead of rebooting your iPhone or doing everything to get the app installed, it is easier to sign out of your current Apple account and sign in using a different Apple account.