Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

iOS app temporarily hangs when app switching

iOS app temporarily hangs when app switching

Description
Switching away from and back to the Spotify app causes it to freeze up of the interface for about 5-6 seconds each time.

1. Open Spotify on iPhone
2. Goto a large playlist and play a track
3. Double tap the home screen button and switch to another iOS app.
4. Double tap and get back your Spotify app
5. Try interacting with the app.
7. Notice the buttons and UI are initially locked up as if the app is hanging for about 5 seconds. After waiting the app will eventually kick in and begin responding to your actions. If you had touched anything while everything was frozen, you may also then notice those actions firing after the hanging ends. Strange and super annoying for anyone trying to multitask.

Expected behavior: app should not hang or freeze when moving away and back into it.

My iPad/iPhone model
iPhone 5C running iOS 7.

Is your device jailbroken?
No

Approximately how many playlists do you have?
about 20 playlists, Only starred playlist is offline cached

My provider and country
AT&T, US

Spotify app
1.2.0.3344

My username
joesspot
Reply
4 Replies

Hey @Joes -  I have almost the same setup as you (other than the username lol), and don't have this issue.  While in multitasking mode, have you tried killing the Spotify app by swiping up on it?  And if that doesn't work, can you try deleting the Spotify app and installing it again?

What's a Spotify Rock Star, and how do I become one?

Hello!

This delay is caused by the way iOS works, not by the app. 

When you switch away from your current app, iOS stops processing the actual interface of the app you were using. What you see on the multitasking screen is a screenshot. When you tap the app's buttons, immediately after opening it, you're actually tapping on a photograph!

 

Don't believe me? Open the stock Music app and start playing a song. Double tap the home button. Notice that the pink marker on the song progression slider is moving, the time counters running. That's because you didn't go away yet.

Now, with the Music app still running and the song playing, open another app. It doesn't matter what app; Twitter, Calendar, the Camera... any app.

Now, double tap the home button. Look for the Music app card. Look at the pink marker on the song progression bar, the time counters; they're frozen in place! That's because you went away from the app, so iOS took a screenshot, placed it on the card and stopped processing the interface.

 

Here is where you ask me "But why do other apps work instantly when I go back to them?"

The answer is, again, on the way the system works. There are 2 reasons for this:

 

1- When you switch back to the app you were using, the system needs to reload the interface of the app.

 

This happens to ALL apps on the background.

Simpler apps, like WhatsApp, use core resources from the system or really small amounts of custom elements on their interface elements, that's why they load almost instantly. Other apps use custom resources on their UIs, which the system takes longer to load. Apps that have more complex interfaces, like Spotify, have this delay because the system needs to load more data.

 

Don't think Spotify is evil or bad for having a more complex app. Most apps with complex interfaces use them because they need them. Otherwise, they wouldn't be able to have most of their features, since the standard resources don't cover everything.

 

2- The system's tendency to suspend apps is bigger the longer they stay on the background.

 

Have you ever found yourself with a bunch of apps open and when you go back to the first one you opened, quite a while ago, it looks like it's loading itself again? No?

 

Anyway, when you stop interacting with an app, iOS tends to close it. The more apps you open after switching away from it, how long ago you went away; iOS notices this. Its tendency to close apps is also bigger with apps that put more strain on the system, like the ones with complex interfaces.

That's why there's almost no performance drop or impact on the battery life when you switch between a lot of apps.

When you start multitasking, iOS is like:

 

"He/She's switching between these two apps constantly, I'll keep them running so the transition between them is instant"

"He/She stopped using that app quite a while ago. I'll close it so the current app he/she is using runs faster and there's enough battery for the day"

"He/She stopped using her/his phone. I'll check which apps she was using and keep them updated with the most recent data, so he/she can catch up quickly with his/her friends when he/she comes back"

 


I hope this helped you understanding a bit about why you see this delay. Still confused? Let me know!

I understand that is the way IOS works.

But that is also extremely new since updating to spotify release 1.2.0.3344

 

There used to be no delay when switching back and forth the spotify app.

With my Iphone 4GS I can be stuck 15sec before it starts to interact

This is quite annoying and kind of unique to the spotify app.

Tried both of these methods, still run into the hanging issue.

Suggested posts