Move to F&R API
This commit is contained in:
@@ -81,12 +81,12 @@ class FindOnPageViewController: UIViewController, _WKFindDelegate
|
||||
}
|
||||
|
||||
@objc
|
||||
func findNext(_ sender: Any?) {
|
||||
override func findNext(_ sender: Any?) {
|
||||
webView?._find(self.findString, options: self.findOptions, maxCount: self.maxCount)
|
||||
}
|
||||
|
||||
@objc
|
||||
func findPrevious(_ sender: Any?) {
|
||||
override func findPrevious(_ sender: Any?) {
|
||||
let options: _WKFindOptions = self.findOptions.union(.backwards)
|
||||
webView?._find(self.findString, options: options, maxCount: self.maxCount)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user