Erik v1.1.1 Release Notes
Release Date: 2016-09-06 // over 7 years ago-
🛠 Fix #15
0️⃣ By default detect page loading end using the webkitnavigationDeletage
instead ofloading
boolean
If you use your own instance ofWKView
inErik
instance, and have already set a delegate, you can make it implement the protocolNavigable
Other algorithm could be chosen to detect page loading
(myErikInstance.layoutEngine as? WebKitLayoutEngine)?.pageLoadedPolicy =.loading
// theloading
boolean
(myErikInstance.layoutEngine as? WebKitLayoutEngine)?.pageLoadedPolicy =.estimatedProgress
// theestimatedProgress
value (must be 1.0 except when starting 0.0)If no page loaded,
NoContent
is thrown when asking forcurrentContent
An empty page is detected using patternErik.noContentPattern
You can set tonil
if you want to keep previous code state