This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final class UserData: ObservableObject { | |
@Published var image: UIImage? = nil | |
} | |
struct ContentView: View { | |
@EnvironmentObject var userData: UserData | |
@State var pickerIsActive: Bool = false | |
var body: some View { | |
NavigationView { |