SwiftUI 3.0 - Instagram Reels UI - Xcode 13 - WWDC 2021
🕑 Added 2021-06-28 21:20:20 +0000 UTCSource Code For SwiftUI 3.0 - Instagram Reels UI - Xcode 13 - WWDC 2021.
Download Code 👇
Comments
WorkerProcess Mankongtongjaroen
more AVPlayer in tabview, It's freeze when play
Jan
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
Jigar Dave
thanks Balaji for making such videos. You are the true contributor to iOS devs..
Hervé
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é
I found my way with some custom TabView
Hervé
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!
Айдар Фатхутдинов
How can I add safe area without extra space? iOS 14
Andrej
Thank you Balaji... excellent. SwiftUI 3.0 not solved VideoPlayer