To allow an app to run in the background on your iPhone, go to Settings > General > Background App Refresh. Toggle the feature on, which allows selected apps to update content even when not actively in use. This is great for messaging, music, and navigation apps, ensuring they stay updated and functional.