apla / me.apla.cordova.app-preferences

App preferences plugin for cordova
Apache License 2.0
201 stars 210 forks source link

No visible @interface for 'UIView' declares the selector 'stringByEvaluatingJavaScriptFromString:' #85

Open johnborges opened 8 years ago

johnborges commented 8 years ago

I'm getting an error when trying to build an iOS Project with this plugin.

AppPreferences.m:24:16: No visible @interface for 'UIView' declares the selector 'stringByEvaluatingJavaScriptFromString:'

cordova iOS 4.1.0

apla commented 8 years ago

Seems like issue with new cordova iOS and WKWebView. I'll try to fix it on this weekend

johnborges commented 8 years ago

Cool. Take a look at these other relates issues too: similar issue

bstevens commented 8 years ago

Temporary solution found here helped me:

cordova platform remove ios
cordova platform add ios@3.9.2
nikolasr200 commented 8 years ago

I m not seeing any ui when I select preferences on iOS.. 9.3 same case?

papawebkly commented 7 years ago

fixed

papawebkly commented 7 years ago

cordova platform remove ios cordova platform add ios@3.9.2