Post

Replies

Boosts

Views

Activity

TabBar with WebView Url
Can anyone help me please... in the contentview i put this but only tabbar i have no and the urlwebview i dont know where to put it, do i need to put in the contentview or in the other swiftfile bars? import SwiftUI struct ContentView : View {           var body: some View {                      TabView {                              ViewA()                     .tabItem(){                         Image(systemName: "house.fill")                         Text("Home")                     }                                  ViewB()                     .tabItem(){                         Image(systemName: "person.fill")                         Text("Log In")                     }                                  ViewC()                     .tabItem(){                         Image(systemName: "newspaper.fill")                         Text("Blog")                     }                                  ViewD()                     .tabItem(){                         Image(systemName: "phone.fill")                         Text("Contact")                     }                              }             .accentColor(.black)         }                           struct ContentView_Previews: PreviewProvider {             static var previews: some View{                 ContentView()                              }         }
0
0
1.1k
Jan ’23
what does the WebView do?
Hi, it's my first time coding using xcode software.. I'm just curious what does webview do? is that for viewing a basic site through an app - like without not too much clicking especially if there is signup and login through third-party sites? i try to use it but the thing is it didnt work the click sign up through google account? what should i do? And I am curious which one is the right one to code? should i create a new swift file (template) to put the code in there or i can put the code direct to the contentview? what is the right code for it?
0
0
673
Dec ’22
TabBar with WebView Url
Can anyone help me please... in the contentview i put this but only tabbar i have no and the urlwebview i dont know where to put it, do i need to put in the contentview or in the other swiftfile bars? import SwiftUI struct ContentView : View {           var body: some View {                      TabView {                              ViewA()                     .tabItem(){                         Image(systemName: "house.fill")                         Text("Home")                     }                                  ViewB()                     .tabItem(){                         Image(systemName: "person.fill")                         Text("Log In")                     }                                  ViewC()                     .tabItem(){                         Image(systemName: "newspaper.fill")                         Text("Blog")                     }                                  ViewD()                     .tabItem(){                         Image(systemName: "phone.fill")                         Text("Contact")                     }                              }             .accentColor(.black)         }                           struct ContentView_Previews: PreviewProvider {             static var previews: some View{                 ContentView()                              }         }
Replies
0
Boosts
0
Views
1.1k
Activity
Jan ’23
what does the WebView do?
Hi, it's my first time coding using xcode software.. I'm just curious what does webview do? is that for viewing a basic site through an app - like without not too much clicking especially if there is signup and login through third-party sites? i try to use it but the thing is it didnt work the click sign up through google account? what should i do? And I am curious which one is the right one to code? should i create a new swift file (template) to put the code in there or i can put the code direct to the contentview? what is the right code for it?
Replies
0
Boosts
0
Views
673
Activity
Dec ’22