963 comments found.
Hi, i don´t have MAC to use xcode .. i will need a simple webview with some menus, pointing for a online website without admob … if i send you informations and splashscreen, do you send me de apk ?
Thanks
APK is for Android and you don’t need Mac for that, any Windows PC can work, Android version of WebView will be available soon, we already sent it on Envato. If you want iOS then you will need a Mac and after the purchase I can help you to configure the app. Best Regards
this is the best webview I have come across. My only gripe is google map urls will not open within google maps app(for GPS) like they will in all other web views I have tried. I really like this build but I cannot use it unless that feature works. Sad face.
Hi and thanks. Can you give me an example url so I can test it and try to fix the problem for you. Best Regards
Well I was looking into the pods and what I’m after is this https://cocoapods.org/pods/OpenInGoogleMaps I attempted to install the pod but I keep running into issues building it. I would so appreciate an update with this add-on. Thank you.
I don’t know what exactly you did but I just test the same pod and it is working fine. Here is what you need to do to make it work:
1. Add “pod ‘OpenInGoogleMaps’” in pod file and run “pod install” in Terminal
2. In AppDelegate.swift file add this;
import OpenInGoogleMaps
and add this so you can know if there is Google Maps on your phone in didFinishLaunchingWithOptions method
if OpenInGoogleMapsController.sharedInstance().isGoogleMapsInstalled == true {
print("Google is installed")
}
3. Add this in “Info.plist” file:
<key>LSApplicationQueriesSchemes</key> <array> <string>comgooglemaps</string> <string>comgooglemaps-x-callback</string> </array>
Let me know if this is working for you or if you have any more questions. Please consider rating my app in downloads page https://codecanyon.net/downloads. Best Regards
restarted the project from the original source. I get a swift compiler warning but it still successfully builds.
Users/user/Desktop/universal-webview/Product/universalwebview/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h:71:1: Conflicting nullability specifier on return types, ‘nullable’ conflicts with existing specifier ‘nonnull’
I followed everything that you posted, but map links still don’t open in googlemaps. I did use cocoapods standalone app and not running it through ruby. Will that be an issue?
I really appreciate your help regarding this.
Can you give an example of map url so I can test it and find a solution.
Warning can be removed by committing changes on git or disabling Source Control in Xcode http://stackoverflow.com/questions/21198514/xcode-5-remove-source-control-for-project
Can you replace the above url with this one:
comgooglemaps://?q=2004+N+Yellowood+Ave,+Broken+Arrow,+OK+74012
so when you want to open google maps app, you can with this code: UIApplication.shared.openURL( NSURL ! as URL)
Pod OpenInGoogleMaps is not mantained anymore so you can remove and ignore that.
comgooglemaps:// and comgooglemaps-x-callback:// schemes allow you to launch the Google Maps app for iOS. More on https://developers.google.com/maps/documentation/ios-sdk/urlscheme
Turns out the urls were already using comgooglemaps://? but I realized an ios10 bug was causing it to not redirect to google maps. I removed google maps, rebooted, and then reinstalled google maps. Problem solved. Thank you Brommkollc for helping me resolve this.
No problem, if you have any more problems I am here. Best Regards
hi
first thank you and GOOD JOB
so now how can i remove the admob and question 2 can i remove the refrech bar ? i wanna full screen view 
Hi and thanks. You just need to remove the rows where the admob keys are in the plist file. Also the toolbar is set to Yes in this plist file, set it to No and it will be removed. Watch this video guide and pay attention, you will find all the answers https://youtu.be/Swkt3HXeAUc
cool bro ! it’s great now all work 100%
but question… how can i disable zoom in iphone by fingers? 
First option is to find loadWebSite() method in ViewController.swift file and replace it with this:
func loadWebSite() {
// Create url request
let requestObj: URLRequest?
if Reachability.isConnectedToNetwork() {
requestObj = URLRequest(url: self.mainURL!, cachePolicy: NSURLRequest.CachePolicy.returnCacheDataElseLoad, timeoutInterval: 0)
} else {
requestObj = URLRequest(url: self.mainURL!, cachePolicy: NSURLRequest.CachePolicy.returnCacheDataDontLoad, timeoutInterval: 0)
}
// Javascript that disables pinch-to-zoom by inserting the HTML viewport meta tag into <head>
let source: String = "var meta = document.createElement('meta'); meta.name = 'viewport'; meta.content = 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'; var head = document.getElementsByTagName('head')[0]; head.appendChild(meta);";
let script: WKUserScript = WKUserScript(source: source, injectionTime: .atDocumentEnd, forMainFrameOnly: true)
// Create the user content controller and add the script to it
let userContentController: WKUserContentController = WKUserContentController()
userContentController.addUserScript(script)
let theConfiguration:WKWebViewConfiguration? = WKWebViewConfiguration()
theConfiguration?.userContentController = userContentController
let thisPref:WKPreferences = WKPreferences()
thisPref.javaScriptCanOpenWindowsAutomatically = true;
thisPref.javaScriptEnabled = true
theConfiguration!.preferences = thisPref;
self.wkWebView = WKWebView(frame: self.getFrame(), configuration: theConfiguration!)
_ = self.wkWebView?.load(requestObj!)
self.wkWebView?.navigationDelegate = self
self.wkWebView?.uiDelegate = self
self.wkWebView?.addObserver(self, forKeyPath: "loading", options: .new, context: nil)
}
the secound option is to put this meta tag in to your website:
<meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no” />
Please consider rating my app. Best Regards
Cool Bro !! thanks can i remove the black screen which i get when i open the app ?
Hi, to fix this we need a Launch Screen, I will add it in next version. If you want to experiment here is a video tutorial how to create a Launch Screen https://www.youtube.com/watch?v=kNHOZJFNY-g
cool ! thanx
now i have launch screen
more Q’s
.. can i make the url loading when i open the launch screen ? so when the launch screen finish i will see the website direct without loading and splash screen… can i ?
() when i show status bar it show on the website not in free blank…
() when i have call and open the app it will be crop 
thank you BRO ^^
No, you cant start loading the the web site on Launch Screen. That is why I created a splash image in the Main.storyboard so the image will be shown until the URL is loaded. When the loading is done, splash image is removed and webview is shown. There is no visible loading, blinking and lagging. I didn’t understand the part with the status bar, can you explain me a little bit more? Or you can send me the project or image on email so I can take a look. Please consider rating my app. Best Regards
aa okay (Y)
but the launch screen with the splash screen take so long time
the status bar it’s show above the app … and when somone call me when i open the app the app will cropped ..
if u have a teamviewer i will show u now … and please tell me how i can rating this best support and bes app webview in codecanyon ever ! and i wish to found android webview like this!
Thanx
Contact me on email https://codecanyon.net/user/brommkollc. Go to downloads page https://codecanyon.net/downloads to rate the app. The android version is created and sent on review, it will be approved soon I hope.
Salam Bro zoom issue it’s fixed, now how can i make the scroll off ? because i have page without scroll but the app view it with scroll like the automate browser scroll…
Hi, Google analytics supports ? Thanks
Hi, next version is reserved for iOS 10 and Xcode 8. After that I will integrate Google Analytics and few more ides that I have.
when will be the next version released? Thanks
Hi, Can you also Add
1. NO INTERNET CONNECTION PAGE with Try Again button
2. Loading Animation button… useful if page loading takes time
..... These Features useful. I am planning to purchase this app. Thanks
Hi, new version is approved few hours ago.
1. If there is no internet when user is in the app in the middle of the browsing, user is prompted with a popup. Currently I am working on offline mode, if there is no internet, the website will be loaded from cache and it will continue to work. I have some difficulties with this on iOS 10, on iOS 9 it was working fine. 2. Loading Indicator is already implemented
Best Regards
i want to put this site in your app and upload to app store, will it work?http://usfanfan.com/
Hi, site is working in my app. About the app store, if it’s working for all the customers I hope it will for you also. Best Regards
Popup for signup and login is acting strange, but the same problem is on the Safari desktop, it’s not only on the app. Everything else looks fine.
i am getting error in the compiler when i try to run the app on my phone. a bunch of app delegate and view controller issues. for example:
app/Product/universalwebview/UniversalWebView/AppDelegate.swift:42:61: Missing argument for parameter ‘selector’ in call
yes i watched the video
frameworks under ios are also missing
Hi. To run the app on the device directly from Xcode, you need to add your Apple ID in Xcode https://www.youtube.com/watch?v=MDhXQ33Gqzg. If you want to submit the app on App Store then follow this tutorial. https://www.raywenderlich.com/127936/submit-an-app-part-1. Best Regards
thats not the problem. its with the build. it wont let me build. it says i am missing files. i belive its the way cocoa pods is interacting
If you extract the project and open the workspace after the extract, is the project working on simulator? Don’t update the pods! If the problem still exists send me an email, send me the project and I will try on my machine. My CocoaPods version is 1.0.1 and Xcode is 7.3.1
no it does not work on simulator. it never gets passed the build errors. yeah that may be the issue, i am on 7 not 7.3
If you want, you can send me the URL and keys of services (AdMob, OneSignal) that you want in the app on email. And I will integrate all of that for you. I will make sure everything is working fine. And if all works fine then you have some issue on your machine.
im updating to 7.3. also would it be possible to get you to create the favorite button? i am looking for a way to browse the site, save the page as a favorite, then go page access a favorite pages and select the favorites. if this is extra i can pay. i am getting it asked for a lot in my current app config
I can create the button for you but there is much more there than that probably. You can send me an email with details and mockups how would you like that to be done. Best
Hi, How do I remove Google Admob advertisements? I don’t want any advertisements served in the application. I have already removed the ID but a white banner is still present on the screen,.
Hi, make sure that you removed both key “AdMobBannerUnitId” and his value from the plist file. If the problem still exist, send me an email so we can fix it together. Best Regards
do we be able to just change the icon, and upload to the app store?
Hi, yes you need to change the app icon and provide the url that you want to present. If you don’t want ads or any of the push notifications services like OneSignal, Firebase or Mixpanel. Juste remove the keys in “UniversalWebView.plist” file. Here is a quick guide video https://www.youtube.com/watch?v=RA6v849m4GA&feature=youtu.be. Best Regards
thanks to serving MixpanelToken?
xcode makes me this error No such module ‘Mixpanel’
Hi, Opening .xcodeproj instead of .xcworkspace will cause an error like this. Just follow everything on this video https://www.youtube.com/watch?v=RA6v849m4GA&feature=youtu.be. If you don’t want Mixpanel, simply remove the “MixpanelToken” key from the “UniversalWebView.plist” file.
solved thanks now I have another question I have several links that I get the error Error unsupported network url there any solution greetings
Hi, you need to have a backup link if that is not valid, you need to replace this method in ViewController.swift file
func webView(webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: NSError) { let alert = UIAlertController(title: “Network Error”, message:error.localizedDescription, preferredStyle: .Alert) alert.addAction(UIAlertAction(title: “OK.”, style: .Default) { _ in }) self.presentViewController(alert, animated: true){} }
with this one:
func webView(webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: NSError) { let request = NSURLRequest(URL: NSURL !) self.wkWebView?.loadRequest(request) }
don’t forget to replace the url “http://google.com”
If the website is in RTL, Will the app display it well? And the notification cloud it be in any language?
Hi, If it can work on Safari, it will work in my app. You can send me a URL so i can test it. App is just showing push notifications, you are sending the text. Best
You have to publish this on the App Store !! Please understand it is not acceptable to buy your code without seeing the app work. Don’t call it “demo”, just publish your own website in webview, exact same as your customers would do it. Just look here on Codecanyon… Other webview developers also do that without a problem. Absolutely no reason, no excuse not to do that.
Hi, I understand. Currently I don’t have a website but I will create it and publish the app. Thanks
Are you available for some extra paid customisation? if so, please email me
I don’t know your email, you don’t have an email form on profile. Send me an email with explanation what would you like. Best
I have screen shot for specs which I can not attach here, please contact me ap.thst{at}gmail.com
Will reply on email
anyway you could add a favorites tab? to save favorite links or places?
Hi. It can be done. The thing is, this app doesn’t have an address bar, if I add an address bar so you can add your favorite website, then this app would look same as Safari. The question is, why would somebody need this app then? Maybe I will create a favorite tab in feature versions as configurable so users can disable if they don’t want that? Do you have any more ideas? Best Regards
how about a rate my app dialogue?
I will integrate that definitely
awesome, let me know when the rate my app is in. how do the interstital admob ads work?
You just need to insert AdMobInterstitialUnitId in plist file and interstitial will be shown immediately when the website is finished loading. Here is a quick guide video: https://www.youtube.com/watch?v=RA6v849m4GA&feature=youtu.be
with the rate my app, how about a suggestions tab for email?
Can you explain me a little bit more what email tab do you want, do you have an example somewhere.
sure, just a method to get customer feedback without going through ratings. a way to help improve the app
ok, thanks
hi is it possible to host html file localy in the app ?
regards
Hi, yes it is possible. Just add your project and make sure there is an index.html file in www folder and delete the URL key in plist file. Here is a quick guide video https://www.youtube.com/watch?v=RA6v849m4GA&feature=youtu.be. Best Regards
thanks this is so clear for me now
No problem, if you need anything else or have any ideas for improvement, please send me a message.
Features ideas:
> Splash screen and while it shows the splash screen, that the site is loading in the background.
> Webview checks what items are downloaded from the page it is opening and if it’s a file that is saved in assets folder that it then loads the local file instead of downloading the file from the server. This way you can reduce the loading time.
Hi, second one is tricky, I will check what can I do about that.
I get an error on build. import MBProgressHUD no such module. How do I resolve this?
Hi, Opening .xcodeproj instead of .xcworkspace will cause an error like this. Just follow everything on this video https://www.youtube.com/watch?v=RA6v849m4GA&feature=youtu.be.
That was an extremely quick response and the answer worked great. You’re great! Thank you!
Thanks. If you like the app and support please consider rating the product. Best Regards
The app works well in vertical. However, when you switch horizontal you get a big white space on the screen. Atleast, this is the case on an Iphone 6 9.3.5.
White space is fixed in new version, also landscape is disabled by default. If somebody wants landscape enabled again, he just needs to check Device Orientation on Xcode General Tab. I just uploaded a new version on Envato. When the review passes, you can download the new version. Best
Hi there perhaps a long shot. But do you think it’s possible to use “deep linking” in iOS with webview?
Interesting idea, I will check it out and probably implement deep linking. Thanks
Tell me, how would you like this to be implemented? If the app receives a new URL over push notification, do you want this URL to be opened every time when the app is opened? Or I can create it to be opened just once, after that when you open the app for second time the old URL from plist file will be loaded.
I would say if app receives a url over push then only for that time the app opens that certain url. and in the future if he opens again that open original link.
Deep linking is integrated in new version, you can test it on Safari, just enter universalwebview://yahoo.com in browser and Yahoo wil be opened. Also login with social networks will be better, you will have a Done button so you can dismiss the view if you don’t want to login. I just uploaded a new version on Envato. When the review passes, you can download the new version. Best Regards
that is fantastic news! Can’t wait.

incredible app as I can create the same app for android? a greeting
Thanks. Yes you can create an Android app same as this. I don’t have an android version for now.
When i try to run version 1.1 in the emulator as iphone 6s, i get the following error: “No such module MBProgressHUD” so that the build fails, any suggestions?
found problem: Opening .xcodeproj instead of .xcworkspace will cause an error like this…
Can you explain how we can build the app? Because when i try to archive it i get a error regarding the signing of a “pods” build? Can i remove that if i don’t use admob or firebase?
Hi, to run the app on a simulator, you don’t need to sign the app. You don’t need admob or firebase for this. Just follow everything on this video https://www.youtube.com/watch?v=RA6v849m4GA&feature=youtu.be. To run it on the device directly from Xcode, you need to add your Apple ID in Xcode https://www.youtube.com/watch?v=MDhXQ33Gqzg. If you want to submit the app then follow this tutorial. https://www.raywenderlich.com/127936/submit-an-app-part-1
thanks, got it on testflight! a few more questions.
-
1) Can you tell me how to disable full screen mode? so that i can look like a normal app
— 2) How to reduce the file size (it is currently 24 mb) i only use one signal.
— 3) Plans in future to enable splash screen?
4) some phones don’t seem to get a push token on onesignal
1) I will create a video tutorial and send you on email
2) Ignore this, we don’t want to mess up the project
4) The iPhone Simulator is unable to receive push notifications or successfully register for them.
4) this is after i have send the app to testflight and run it on my phone
4) Sorry, this is something that you will need to find on OneSignal
I have two questions, does this support social login buttons for example Facebook (when there is a facebook button on the website asking to login with facebook) and is this based on the wkwebview code?
Hi, yes this app is based on WKWebView and no WKWebView doesn’t support social buttons like Facebook. For that you need SFSafariViewController. But this implementation has done button and search bar http://goo.gl/6AauVZ. If there is a need for something like this, I would be happy to create a new app with this implementation. Best
thank you for your quick reply! Good to know that WKWebview is being used. then two other more questions
1 Plans for Onesignal.com (since we use that for our android device) and two do you think if this will work: https://pareshrvaghela.wordpress.com/2016/06/01/wkwebview-to-handle-social-logins-like-facebook-linkedin-and-google/
?
Or are you able to test it out with your source code, if yes then i will buy the source
OneSignal will be implemented in next version. I will test this social script and get back with the answer.
That hack that you sent me is not working but i made few changes and now it’s working fine on most sites. I will test it a little bit more and upload a new version tomorrow. Also with OneSignal.
O that is great news! can’t wait. thanks
after receiving a e-mail confirmation that it worked, i have purchased your script!
Thanks, I’m currently preparing the project for new version and review for Envato. When the review passes, you can download the new version. Best
I can’t shark extractand pod file
Hi, first you need to instal cocoapods https://cocoapods.org. Now make sure that you installed everything as shown in Quick Guide video https://goo.gl/5CKAMC. Today i will upload a new version where pods will be installed, you will only need to open the workspace.