adamhartford / SwiftR

Swift client for SignalR (iOS and Mac)
MIT License
174 stars 74 forks source link

Solved UIWebView deprecated and Swift 5 compatibility #138

Open JoaoVictorArruda opened 1 year ago

JoaoVictorArruda commented 1 year ago

If you are using this package you may have been facing this issue trying to sent your application to APP Store.

"ITMS-90809: Deprecated API Usage - Apple will no longer accept submissions of new apps that use UIWebView as of April 30, 2020 and app updates that use UIWebView as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview)."

The last update on this repository was 5 years ago and some people still using this one. To solve this issue I did a fork to fix that. It can be found here https://github.com/modiax/SwiftR.

If you are using Cocoapods in your project just replace

pod 'SwiftR'

to

pod 'SwiftR', :git => 'https://github.com/modiax/SwiftR.git'