News for hackers. Stuff that matters.
Re:iOS First Impressions (2018) by kccqzy on Sunday January 26, 2020 @11:21PM (#22156834)
> Luckily, apps seem to have a really good memory of where you left off

This is something I have some gripes about. In the old days before backgrounding, pressing the home button literally ends the process. So implementing state preservation and restoration is a must for any non-toy apps.

With backgrounding, apps can linger in the background for a while before being killed. And now many iOS apps don't implement state restoration at all, including built-in apps like Photos. Quick experiment to verify: I open a particular photo, quit the app, reopen the app, and I don't see that photo any more. Instead I see the general timeline view or album view.

I hate this and wish more iOS devs would implement these things correctly. Docs here: https://developer.apple.com/documentation/uikit/view_control...

Re:iOS First Impressions (2018) by SifJar on Monday January 27, 2020 @07:15AM (#22158617)
What happens if you go back to photos via the task switcher instead of home screen icon? (I don't use iOS so I can't check)

Personally, I'd prefer that going back via the task switcher maintains state but going back via home screen doesn't. i.e. task switcher is how you get back to what you were doing, home screen is starting fresh.

If I open the photos app on my phone, I don't necessarily want it to automatically bring up the last photo I was looking at 6 hours ago or whatever. At the very least, if it's going to resume from where I was, there should be some visual indicator IMO (e.g. on Windows taskbar, it's icons are highlighted to show that a window of that application is open & clicking will bring that up instead of a new instance - plus there's the option to middle click & bring up a new instance regardless)

Re:iOS First Impressions (2018) by machello13 on Monday January 27, 2020 @11:03AM (#22160521)
Behavior for home screen vs. task switcher is the same. But you do make a good point that state restoration isn't necessarily something that should always be implemented. The user may not necessarily want to go back to exactly where they were when they last used the app 2 days ago.
Re:iOS First Impressions (2018) by hadtodoit on Monday January 27, 2020 @01:44PM (#22162423)
As always, experiences may vary. I actually prefer that Photos does not save state as I have never opened the app looking for the same photo twice in a row.
Re:iOS First Impressions (2018) by gok on Monday January 27, 2020 @09:16PM (#22165820)
Note that this behavior changed with the new force-quit gestures. When you quit from the app switcher it was decided that the user explicitly wanted to reset UI state, so the UI state restoration data gets wiped. So that behavior you're describing for Photos is expected.
Re:iOS First Impressions (2018) by ngcazz on Monday January 27, 2020 @04:24AM (#22157950)
Don’t apps go away when you flick them off the task switcher?
Re:iOS First Impressions (2018) by ascagnel_ on Monday January 27, 2020 @09:31AM (#22159524)
Yeah, "force quitting" apps in that way is the only way a user can force-reset the app's case if they it a bug or if the app starts behaving unpredictably.

If you quit an app, open something else, and then come back to it, it should maintain state.

Re:iOS First Impressions (2018) by jon889 on Monday January 27, 2020 @11:06AM (#22160556)
It does? Unless you've not opened it in like a day, in which case you probably want to start again.
Re:iOS First Impressions (2018) by layoutIfNeeded on Monday January 27, 2020 @12:32AM (#22157055)
+1 particularly upsetting for apps like YouTube.
Re:iOS First Impressions (2018) by pzmarzly on Monday January 27, 2020 @02:54AM (#22157586)
I think YouTube app is user-hostile on purpose and has similar behavior on Android. I mean, My biggest pain point with it is that after switching to another video, you can’t go back to the previous one without visiting account history. At least I couldn’t find a way to do that, and when I asked a friend who I knew was spending few hours a day in that app, he didn’t even know that there was such a problem (why would you ever want to navigate back?).

I’ve been using Ivory for iOS as NewPipe replacement, but it’s still much inferior, especially when it comes to updates (for example, it cannot play videos right now due to YouTube API change, and past experiences taught me it will take at least a week before developer fixes it).

Re:iOS First Impressions (2018) by ajconway on Monday January 27, 2020 @03:42AM (#22157767)
On iOS you can tap on the video to bring up controls and the go-back button will navigate to the previous video
Re:iOS First Impressions (2018) by mercer on Tuesday January 28, 2020 @01:52AM (#22167055)
I find that more often than not, this doesn't work. I've not quite figured out the 'rules' to it, but it's so inconsistent that I usually don't even bother trying.
Re:iOS First Impressions (2018) by Lammy on Monday January 27, 2020 @02:31AM (#22157497)
It’s a paid feature for YouTube. They want you to pay up for background playback, so they won’t risk the free version being too convenient.
Re:iOS First Impressions (2018) by dep_b on Monday January 27, 2020 @08:11AM (#22158900)
First there was no background playback on iOS because Google needed to show how bad iOS was at multi-tasking, even with all of the relevant API's for background media already in place. Now they degraded the Android user experience to match that so they can sell what could have been possible from almost the beginning as an upgrade.

I guess YouTube finally smothered all the competition with unlimited free money from Google and can now start to squeeze it's userbase.

Re:iOS First Impressions (2018) by leokennis on Monday January 27, 2020 @07:39AM (#22158743)
Ugh I hate the YouTube app so much.

Every 3rd open is a "want to try premium?" popover, like some beggar on the street. Closing a video requires 2 precisely positioned and executed swipes. Everything looks like an Android app, like all Googles apps for iOS.

Just terrible.

Re:iOS First Impressions (2018) by dan-robertson on Monday January 27, 2020 @05:38PM (#22164582)
Well I agree that there’s a lot to hate about the app but if it means YouTube can move to a business model that doesn’t rely on surveillance and advertising then I think I can’t really complain too much
Re:iOS First Impressions (2018) by theshrike79 on Monday January 27, 2020 @02:41AM (#22157534)
I've resorted to using YouTube with Safari when I want to watch a video in Picture-in-Picture mode.

I'm NOT paying a monthly fee for a feature that basic.

Re:iOS First Impressions (2018) by Tagbert on Monday January 27, 2020 @03:29PM (#22163446)
You're not paying for the feature, it is a hostage situation and you would be paying to get a proper user experience.
Re:iOS First Impressions (2018) by lloeki on Monday January 27, 2020 @04:38AM (#22158008)
Bringing you back to the main landing screen with regularity looks like a simple way to push the user towards looking at suggested videos again.
Re:iOS First Impressions (2018) by kalleboo on Monday January 27, 2020 @07:40AM (#22158749)
Even if you pay for Premium, it will forget what video you were looking on if the video was paused when you put it in the background. Especially infuriating if you're double-checking something on the web to reply to a comment
Re:iOS First Impressions (2018) by layoutIfNeeded on Monday January 27, 2020 @09:49AM (#22159716)
The most disgusting dark pattern is that the comment thread will jump to the top if an ad starts playing.
Re:iOS First Impressions (2018) by The_rationalist on Monday January 27, 2020 @04:17AM (#22157916)
And it is free with kiwi or Firefox + extension
Re:iOS First Impressions (2018) by Lammy on Monday January 27, 2020 @11:11PM (#22166376)
Or with my iOS jailbreak :)