URL schema for launching Notes app in iOS - ios

Is there a URL schema for launching the built in Notes app in iOS 6? I have seen significantly more work than what is provided here:
https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html
Specifically, the entire settings app seems to have URL schemas for each page.

The sad fact is that if Apple does not publish a means to do it, any hack will surely break in the future. It use to be possible with a hack to open Settings, but then one day it stopped working.
The best thing to do is enter a bug report at bug reporter.apple.com and request this feature - that said apple won't do it unless they get lots of such requests.

Related

IOS Offline Caching WebView content

I need to load an url in a WebView and download the whole content of the website (documents, images, css, etc) to be able to work offline.
I built an app 4-5 years ago (targeting iOS 7.0) using this --> http://robnapier.net/offline-uiwebview-nsurlprotocol
Recently I was asked to check if the app still works for the latest iOS versions. I found that most of the classes mentioned in this article are deprecated now (for example: UiWebView or NSURLConnection).
When I run the app now, the caching process starts but it gets stuck at some point while downloading a file.
I've enabled CFNETWORK DIAGNOSTICS and most of the time I get this error: SSL_ERROR_ZERO_RETURN operation failed because the connection was cleanly shut down with a close_notify alert. I've researched a lot without any success.
I'm thinking about rebuilding the whole app using a modern solution, but actually I don't really find anything clear. Probably it is not common to do these kind of apps.
My question is if someone nows a better approach for this. I don't even care if I do it natively on iOS or using some cross-platform technology like Reac-Native or Flutter.
Any suggestions would be very welcome.
Thanks.
EDIT
The web that I have to wrap inside the WebView implements a Service Worker to cache the data. So in a Safari browser, this web works offline.
I would just need to wrap someone this web in an iOS app, I tried SFSafariViewController but still not working.
SFSafariViewController
Deprecated doesn't mean unavailable. There are still plenty of apps using UIWebView and NSURLConnection. Before you go rewriting your app using the latest and greatest, you should understand what the problem is. There's a good tip for debugging the error you're getting in iOS 11.2.1 Xcode 9.2 BoringSSL SSL_ERROR_ZERO_RETURN(6). Short version: set the CFNETWORK_DIAGNOSTICS environment variable so that you get better network debugging information.
Given the age of your code, I'd imagine that Apple's requirement that apps use secure connections starting in iOS 9 might be at least one factor. You should read up on App Transport Security to learn how to update your app to meet those requirements. You'll definitely need to add a key or two to your app's Info.plist file, and you'll probably also want to update your app to use a https URL instead of http. Making these changes will be much easier than rewriting your app, and you need to meet the ATS requirement anyway, so you might as well do that part first.

IOS 12 Unwanted communication Reporting Extension Working on Phone but not on Messages app

I have been trying to make the new iOS extension Unwanted Communication Reporting work. Currently I couldn't find any good walk-through tutorial or code-sample to make it work. Above that by just firing up a new project with this extension and building it shows me the option of reporting in the Phone App but not on the Messages app, Moreover, the option to enable it only appears in phone app but it says "sms/phone" so I think this should work for both of them.
I know its in beta right now but just want to know if anyone had any luck with it. Also, There is no code to share as its just the boiler plate that comes with the new project.
This might have been a personal issue. I reset the whole phone and now I can see the options to report message. Apple might have fixed it in their latest iOS build or it might have just been my device issue.
Apple's developer site specifies ”SMS and call spam reporting," which is an app extension that you will have the option of turning on or off.
You may enable an Unwanted Communication extension in the Settings app. I am not sure if Apple will utilize this but i know for android - screen turns red when such spam calls come in, also caller id notes that but currently apple seems to have found a middle ground.
The following worked for me, you can try:
Remove command definition for this in Plist file.
Delete the Target in project (you can delete code folder).

iOS App HTTP insecure call working on local tests but fails after archiving

Two years ago I developed an iOS app which makes HTTP requests instead of HTTPS ones. I had to add the Allow Arbitrary Loads value in my info.plist for this to work. The app was submitted and uploaded to the App Store and was working well until these days.
Recently, I made some improvements in other sections of the app and submitted a new version. I tested it in simulator and in an iPad an everything was working well until I archived it and generated the IPA file in Xcode. Testing this file in the same device, when I use a function that calls a HTTP request, the request gets stuck and never ends.
As when testing from Xcode everything goes well, I can´t see any error. Any idea? Has something changed recently in relation whit this kind of calls?
Update
Found that Archiving uses Release config and my tests were made in Debug, I started playing with the different build settings and detected that enabling the "Testability" option in Build Options makes everything work again. The Xcode description for this option is:
When this setting is activated, the product will be built with options appropriate for running automated tests, such as making private interfaces accessible to the tests. This may result in tests running slower than they would without testability enabled.
I don't understand the relation between this option and the HTTP requests... Can I upload the app with this option enabled?
As no other answers are being posted, if someone comes here looking for one: I had to enable "Testability" option in Build Options for Release. For me it looks like a bug and maybe this could be corrected in future versions.

Adding a URL link to iOS app that is not optimized for mobile platforms (rejection possibility)

I have been doing some research about iOS app approval process, but I can't seem to find one thing that is pretty important in my case. I have added a simple url link to a website (I did not use a web view for the reason I am about to explain).
What I have found is that Apple specifies that font within the app should not be smaller than size 11. They also say that the user should not have to zoom in. Well, unfortunately I have a client who wants me to place a link of her website in a menu section of the app. I told the client that I was concerned that there may be an issue since this website is not optimized for mobile devices. Basically, this link shows a desktop version of a site on a mobile phone.
I have searched online for many guidelines, but I just haven't spotted anything yet. I would guess that they would reject it, but I was just curious if anyone happened to know for sure or knew where I should look to find this out.
Thanks

Submitting webapp launcher to Apple Store

I have never developed for iPhone, but I have developed an HTML5 web application.
I would like to submit to the Apple store a free app whose job would be to just open up the HTML5 webapp in the mobile browser.
Do you think it will be likely that such an app can be accepted? Can you please provide links or evidence?
Is it possible to ask this question to the Apple team so that I am not going to waste $99? If so, how?
If your app has native web views pulling internal HTML5 information, you might be able to sneak it by some of the app reviewers, but a good portion will say that there is not enough native Apple code in the app. They are sticklers for that.
I have, on a few occasions, gotten away with adding push notification, saying it HAS to be an app, and can't rely on users going to the website since they need push (even though I never intended on pushing anything out), but Apple has caught on to this.
Ultimately, you need to use Apple code in xCode, and you need to use a lot of it.

Resources