Comments (12)
I think this is already in master, so we "just" need a release
from rxwebkit.
@eebrian123tw93 like this just do it :
static let decidePolicyNavigationResponse = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as (WKNavigationDelegate) -> ((WKWebView, WKNavigationResponse, @escaping (WKNavigationResponsePolicy) -> Void) -> Void)?)
static let decidePolicyNavigationAction = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as (WKNavigationDelegate) -> ((WKWebView, WKNavigationAction, @escaping (WKNavigationActionPolicy) -> Void) -> Void)?)
from rxwebkit.
use this line in podfile
pod 'RxWebKit', :git => 'https://github.com/RxSwiftCommunity/RxWebKit.git'
from rxwebkit.
we don't found v2.0.1 on cocopods
please release v2.0.1 on cocopods
https://github.com/CocoaPods/Specs/tree/master/Specs/1/a/c/RxWebKit
from rxwebkit.
I tried the above solution but it does not build on Xcode < 14.
Are there any solutions which build on both versions?
from rxwebkit.
from rxwebkit.
Thanks, found it.
Here is the solution for all that don't want to search:
#if swift(>=5.7)
static let decidePolicyNavigationResponse = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as (WKNavigationDelegate) -> ((WKWebView, WKNavigationResponse, @escaping(WKNavigationResponsePolicy) -> Void) -> Void)?)
static let decidePolicyNavigationAction = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as (WKNavigationDelegate) -> ((WKWebView, WKNavigationAction, @escaping (WKNavigationActionPolicy) -> Void) -> Void)?)
#else
static let decidePolicyNavigationResponse = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as ((WKNavigationDelegate) -> (WKWebView, WKNavigationResponse, @escaping(WKNavigationResponsePolicy) -> Void) -> Void)?)
static let decidePolicyNavigationAction = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as ((WKNavigationDelegate) -> (WKWebView, WKNavigationAction, @escaping(WKNavigationActionPolicy) -> Void) -> Void)?)
#endif
from rxwebkit.
Pretty Good! Waiting RxWebKit 2.0.1 on cocopods
https://github.com/CocoaPods/Specs/tree/master/Specs/1/a/c/RxWebKit
from rxwebkit.
please, release this 2.0.1 version, really looking forward to this fix 🙂
thanks in advance
from rxwebkit.
on which date do you have a plan to release the version 2.0.1 on Cocoapods? we are waiting for the fix
from rxwebkit.
You mean, 2.0.2 correct?
2.0.1 does not include the fix AFAIK
I am waiting for it, too
from rxwebkit.
When can we expect a fix release for Xcode 14?
from rxwebkit.
Related Issues (20)
- Continuous Integration
- Observing WKWebView url breaks loading content in the web view HOT 1
- Plans for WKUIDelegate.webView(_:createWebViewWith:for:windowFeatures:)
- update to swift 5 HOT 1
- Question from RxSwift 5.0
- How about cleaning up podspec?
- Error uploading an app file containing RxWebKit 1.0.0 to appstoreconnect HOT 3
- Memory leak caused by invalid WKNavigationDelegateEvents HOT 1
- Crash in certain versions HOT 3
- please update podspec HOT 3
- RxSwift 6 support HOT 1
- Support for MacOS catalyst?
- When will the new version be released?
- `webView.rx.didTerminate` crashed
- remove no need return
- If you use the properties implemented in RxWebKit together with the properties implemented in RxCocoa, it will crash.
- decidePolicyNavigationAction is not called.
- webview is deprecated how to fix this?
- Privacy manifest required by Apple
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxwebkit.