I'm trying to fix an old iOS app where UIWebView won't open an URL to another app. The app says "URL cannot be shown", which might indicate the URL is wrong, but I am able to open it directly in Safari.
I received the responsibility for fixing an app for my company and I do not have much experience with Objective C, so I hope you can help me. The app have previously worked, but suddenly stopped working in 2016. This is probably because of an update that happened at this time, which changed somURL can't be showne functionality.
The app opens a UIWebView and through this accesses a webservice from where the user can input some information, etc. This webservice then calls another app to print a label, but instead just displays a pop-up with URL can't be shown
.
When I write this URL directly into Safari, it opens the app and works with no problems. This made me think the problem might be somewhere in UIWebView, but I cannot locate exactly where this might be.
I do not know what cope snippet or information might be worth including, but if you ask what you need I can provide it.