NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

Toggle iCloud sync on/off

Forums > SwiftUI

Hi! Everyone, I would like to implement a toggle button so people can choose if they want to sync with icloud anytime.

I see a couple of post with similar questions, like this: https://www.hackingwithswift.com/forums/swiftui/how-to-toggle-icloud-sync/7584, but sadly they are all unanswered.

That's why I reopen this question. Anyone could solve this problem?

Thanks!

   

Hacking with Swift is sponsored by Play

SPONSORED Play is the first native iOS design tool created for designers and engineers. You can install Play for iOS and iPad today and sign up to check out the Beta of our macOS app with SwiftUI code export. We're also hiring engineers!

Click to learn more about Play!

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.