It's the part 5 bit of the app that's not playing any sound?
Oct 28, 2020, 12:56 PM
It's the part 5 bit of the app that's not playing any sound? It has audio for me on my iPhone XR, iOS 14.0.1, Xcode 12 setup...I also don't get the lock screen controls, but that's probably due to settings in the app that...
The audio being disabled could be due to the mute/silent switch on the side of your device being…
Oct 28, 2020, 4:16 AM
The audio being disabled could be due to the mute/silent switch on the side of your device being on, or something similar?What do you mean by ‘when you lock screen’?
Actually, the problem I was having was just that the player wasn’t playing and it seems you don’t…
Oct 17, 2020, 10:34 AM
Actually, the problem I was having was just that the player wasn’t playing and it seems you don’t get controls on the view until you call play(). I’ve updated the code on GitHub to show a working example
Yeah I’m seeing the same behaviour on iOS 14 too with VideoPlayer and an HLS stream, both o…
Oct 17, 2020, 10:19 AM
Yeah I’m seeing the same behaviour on iOS 14 too with VideoPlayer and an HLS stream, both o simulator and device… I’ll see if I can find the solution!
As I say, it doesn’t playback the video in the simulator, but apparently does on a real device…
Jun 29, 2020, 2:21 AM
As I say, it doesn’t playback the video in the simulator, but apparently does on a real device (I’ve not tried that as I don’t have one I can put iOS 14 on).
AVPlayer & SwiftUI Part 5: VideoPlayer is here!
Jun 25, 2020, 2:42 AM
This blog is related to the SwiftUI video player that’s been progressing over part 1, part 2, part 3 and part 4. But don’t worry! You don’t need to catch up!WWDC20 and the arrival of the iOS 14 beta has revealed a new View for SwiftUI:...
This sounds like the behaviour you would see if the slider is still updating it’s position based on…
Jun 21, 2020, 5:01 PM
This sounds like the behaviour you would see if the slider is still updating it’s position based on the video still playing back, whilst you’re also moving the slider to a different position with your own interaction. So there’s fighting...
Glad it helped!
May 30, 2020, 5:22 PM
Glad it helped! I should think you can do something with a ZStack to overlay the controls on the video. The last example on this page, for ZStack, might be similar to what you want.
Thanks for the feedback, looks like you know a thing or two more about Combine than me!
Mar 12, 2020, 3:09 AM
Thanks for the feedback, looks like you know a thing or two more about Combine than me!
AVPlayer & SwiftUI Part 4: Better Player Observing
Mar 10, 2020, 3:26 PM
Update: Check out part 5 for SwiftUI’s own VideoPlayer view in iOS 14!This blog is related to the SwiftUI video player that’s been progressing over part 1, part 2 and part 3 so you may benefit from reading those first!For the record, I’ve...
Yes it could get to be a bit of a chore that way for testing an app, this other approach works…
Jan 22, 2020, 3:16 PM
Yes it could get to be a bit of a chore that way for testing an app, this other approach works quite well for testing frameworks though as the default for unit tests is to test the framework rather than the source (while still having...
Another option is to use a different (empty) host app for your unit tests, rather than your actual…
Jan 22, 2020, 12:13 PM
Another option is to use a different (empty) host app for your unit tests, rather than your actual app. Have you ever done that? Any reasons you can think of for why this approach is better?
Accessibility in iOS
Jan 21, 2020, 1:17 PM
Accessibility is about making things usable for everyone, specifically those who might not be as able as the majority of people (this webpage provides a pretty good introduction if this is all new to you).In 2019 I went to two iOS...
Hi Rob, I was inspired by you (and others) talking about accessibility at conferences this year…
Dec 11, 2019, 4:52 PM
Hi Rob, I was inspired by you (and others) talking about accessibility at conferences this year, keep up the good work!I was trying out the ‘increased contrast’ option in the accessibility settings and found that colour sets in an asset...