Control Center API - iOS 18 - SwiftUI - Xcode 16
HTML-код
- Опубликовано: 19 июл 2024
- Hello Guys 🖐🖐🖐
In this video, I'm going to show how to create control widgets for the new iOS 18 Control Center using SwiftUI | SwiftUI Control Widget | SwiftUI Control Center Widget | Xcode 16 | iOS 18 | Swift | SwiftUI Xcode 16 | SwiftUI for iOS 18 | Xcode 16 SwiftUI.
#apple #swiftui #ios #xcode #animation #ui #design #animation
► Subscribe For More: ruclips.net/user/Kavsoft?sub_c...
► For Apple Device Mockup's: apps.apple.com/us/app/mockvie...
► SwiftUI Books [Affiliate Link]: www.bigmountainstudio.com/fro...
► Support Us
Patreon : / kavsoft
PayPal: www.paypal.com/paypalme/Kavso...
Contributions : donorbox.org/kavsoft
BuyMeaCoffee: www.buymeacoffee.com/kavsoft
► My Specs
Xcode Version: 16 Beta 1
macOS Version: 14.5 Sonoma
► Official Website: kavsoft.dev
For Any Queries: kavsoft.dev/#contact
► Social Platforms
Instagram: / _kavsoft
Twitter: / _kavsoft
► Timestamps
0:00 Intro
0:08 Building Control Toggle Widget
2:41 Building Control Button Widget
Thanks for watching
Make sure to like and Subscribe For More Content !!!
Control Widgets can support SwiftData as well, if you want a separate video on that topic, please let me know in the comment section.
Yes !!!
Yes of course we want video of SwiftData + control centre widget 🎉
Hi, thank you so much for the great tutorials about swiftUI. I just watched your past video about "Custom Video Player". I want to load video from url in remote database and there seems be to some async issues. I used .task { to load -> play video } (instead of .onAppear { } ) but the video played twice at same time. Could you help me with this issue or recommend some relevant documentations. Thanks again.
Thank you so much for this video! Running into this error when trying build on actual phone (iPhone 15 pro), “The specified capability is not supported by this device”? Works fine on simulator but control won’t show up on actual phone. Any help would be greatly appreciated😊
❤❤Thanks for this video
we also want video with swift data🎉
Hello, thanks for the video! I am having one small issue. When I ignore the alert shown at 2:20 my app doesn't work. It's cool to have the widget but I want the app to work as well. Do you know how to fix this?
Can these also been used to jump into an App an show up directly a sheet to add or update something ?
Yes please
🤩
Great video, thanks! One question: Is there a way to create a control that launches the app with options? For example, a control like "Open my profile" and it launces the application and navigates to user's profile.
I think so, let me verify and update the comment!
@@Kavsoft thank you very much! All I could find was setting “openAppWhenRun” to true, this way the action opens the app. But in the WWDC video, they just use “NavigationModel.navigate(to: .pinned)”, in “perform” function, but I can’t use this kind of code from my project because of dependencies… I couldn’t find any meaningful way to do that unfortunately :/
@@EdwardMordrake618 did you manage to figure it out?
@@Theo-os3zi I couldn’t unfortunately
Why not to have a Video 🎞 for support of SwiftData. Waiting...