WebKit in SwiftUI with SegmentedControl, WebView, State, UIViewRepresentable, Xcode11 Swift 5 (2019)

preview_player
Показать описание
Load websites in SwiftUI with WebKit in Swift 5 & Xcode 11!
Load a WebView in SwiftUI
SegmentedControl In SwiftUI.
How to use WebKit in SwiftUI
UIViewRepresentable in SwiftUI
Xcode11 beta SwiftUI
How to use For Loops in SwiftUI
Navigation In SwiftUI with Large Navigation Titles

---- iOS Community Links! :) ----

---- Video Resources! ----

companion medium article:

----- course coupons for YouTube Subscribers ----


#swiftui #segmentedcontrol #webkit
Рекомендации по теме
Комментарии
Автор

Any idea why would I get 'Use of unresolved identifier SegmentedControl ' error?

emiremiroglu
Автор

Hi Max, nice quick vid. Thanks man. I got a question, what is the difference from using ForEach(0 ..< websites.count) vs. doing ForEach(websites)

shingetzu
Автор

Hi Boss, thank you first i have some problems with the code ! may by there are some changes related with xcode 11.2 can you Help us with an update of code !

بريزيبالعربي
Автор

Hey Buddy i really got stuck up at 13:22 HStack, can you please help me here...?
HStack {
UISegmentedControl (selection: $selectedSegment) {
ForEach(0 ..< websites.count) {
Text(self.websites [$0]).tag($0)
Error#1: Generic struct 'HStack' requires that 'UISegmentedControl' conform to 'View'
Error#2: 1. Where 'Content' = 'UISegmentedControl' (SwiftUI.HStack)
Error#3: Extra argument 'selection' in call
Error#4: Trailing closure passed to parameter of type 'CGRect' that does not accept a closure

DVNJEWELRY
Автор

how can i use this to view HTML, thanks for any help

michaelstamper
Автор

Very good video. Very understandable and great. Thank you :D

alparslandev
Автор

Great video until the segmented control portion for me now. I get an error as others have mentions Unable to infer complex closure return type; add explicit type to disambiguate.

gregbew
Автор

Thank you Bro ! the first Test works Fine ! thank you so much

بريزيبالعربي
Автор

thank you my friend! <3 u saved my life hahahahaha!

karimtami
Автор

HI,


i am using swift, i am beginner to iOS, i am using WKWebview to convert for my web application to iOS app,
in my application i have social login options like facebook and google login, when i successfull logIn facebook login popup or google login page not closing, i need add close button or back button. is it possible, please help me, thanks in advance.

sreelakshmi
Автор

how can I implement allowsInlineMediaPlayback

eddiemuro
welcome to shbcf.ru