SwiftUI 3.0 - Instagram Reels UI - Xcode 13 - WWDC 2021
Added 2021-06-28 21:20:20 +0000 UTC
Source Code For SwiftUI 3.0 - Instagram Reels UI - Xcode 13 - WWDC 2021.
Download Code π
more AVPlayer in tabview, It's freeze when play
WorkerProcess Mankongtongjaroen
2023-08-01 13:40:49 +0000 UTC
Hey thx for this really useful project. I modified the ReelsView to launch into a child view. One issue was when navigation back to parent view, the videos (sound) continued to play.
In "ReelsView" line 57, you wrote:
.onAppear {
currentReel = reels.first?.id ?? ""
}
How would you add ".onDisappear"? I could not make it work.
/Best
Jan
2022-10-16 19:58:36 +0000 UTC
thanks Balaji for making such videos. You are the true contributor to iOS devs..
Jigar Dave
2021-10-18 06:18:54 +0000 UTC
For curious people, it is possible to have it run on iOS 14. I had to:
- Extract the play based on offset in another view with an instance function able to apply the dispatch
- Embed the Vertical Page Tab View in as ScrollView to prevent bouncing and unwanted offset
- Remove background and foregroundstyle modifiers from the speaker.* image
HervΓ©
2021-09-14 13:48:41 +0000 UTC
I found my way with some custom TabView
HervΓ©
2021-09-13 17:44:58 +0000 UTC
Thank you for your work. It is really helpful.
I am trying to have the videos playing underneath the tab bar but I'm not successful playing with the parameters of .ignoreSafeArea in the ReelsView.
Your help will be really appreciated!
HervΓ©
2021-09-13 13:43:30 +0000 UTC
How can I add safe area without extra space? iOS 14
ΠΠΉΠ΄Π°Ρ Π€Π°ΡΡ
ΡΡΠ΄ΠΈΠ½ΠΎΠ²
2021-08-11 13:17:05 +0000 UTC
Thank you Balaji... excellent. SwiftUI 3.0 not solved VideoPlayer
Andrej
2021-06-29 12:55:28 +0000 UTC