Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import SwiftUI
- struct ContentView: View {
- @State var name: String = ""
- @State var active: Bool = false
- init() {
- UIScrollView.appearance().backgroundColor = UIColor(named: "background")
- }
- var body: some View {
- NavigationView {
- ScrollView {
- Group {
- TextField("Name", text: $name).padding().background(Color("Color")).cornerRadius(8).padding()
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement