Through the UIWebView
delegate call.
You need to set your webViews delegate
to the current controller, and conform to the UIWebViewDelegate
protocol. When the webView finished loading the page func webViewDidFinishLoad(_ webView: UIWebView)
will get called.
More Related Contents:
- Why am I unable to do a simple Alamofire request?
- Type ‘Any’ Has no Subscript Members in Xcode 8.1 Swift 3
- How to parse float variable from 1 .swift file to another swift file?
- UITableView example for Swift
- Swift Compiler Error: “Expression too complex” on a string concatenation
- How to get a user’s time zone?
- Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code
- didSelectRowAtIndexPath not working, Swift 3
- Xcode not automatically creating bridging header?
- How can I change locale programmatically with Swift
- How to create managedObjectContext using Swift 3 in Xcode 8?
- Make a UIButton programmatically in Swift
- How to I import 3rd party frameworks into Xcode Playground?
- Remove text from Back button keeping the icon
- Static Library and Swift
- Module compiled with Swift 4.0 cannot be imported in Swift 4.0.1
- Programmatically switching between tabs within Swift
- Xcode – Error creating LLDB target
- URLSession.datatask with request block not called in background
- Linker Error in iOS (duplicate symbols for architecture x86_64)
- Can’t Hide Status Bar—Swift 3, [duplicate]
- How to push and present to UIViewController programmatically without segue in iOS Swift 3
- “Creating an image format with an unknown type is an error” with UIImagePickerController
- Programmatically Add CenterX/CenterY Constraints
- OpenURL in iOS10
- Show iPhone cut copy paste menu on UILabel
- Calculate Total Traveled Distance iOS Swift
- Facebook Graph API GET request – Should contain “fields” parameter (Swift, Facebook SDK v4.5.1)
- Xcode 6 Storyboard Unwind Segue with Swift Not Connecting to Exit
- Signing sub-framework embedded in root-framework not working (Xcode 11.2.1)