I'm trying to add a 'copy to notes' button in my app which sends a text to the notes app of ios. Is there any possible way to integrate this? I've done some research and didn't find anything and since I've never seen it in an other app I guess it's not possible, but I thought It was worth a question.
All you have to do is open the Notes app, type in any subject line and click the button at the top to add someone to the note. “Once someone is added, you can chat with them about anything,” Autade explained.
From the home screen of your iPhone, tap Notes. In the Notes app, tap the New icon located at the bottom right of the screen. In the new screen, first, enter the 'Subject' or 'Title' for your note. Then, start typing your secret message below the subject.
You can share notes on your iPhone with iCloud in the Notes app. When you share an iCloud note through Messages or Mail, the person you shared it with will be able to access and edit the note, and both of you can collaborate and make changes. You can also share notes through connected social media apps like Facebook.
Good question. Situations like the one you describe are always handled with URL schemes using the UIApplication method openURL:. For example, to launch the phone app with a specific number you could do:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:1-234-567-8910"];
Or to launch the Mail app:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto:[email protected]"];
Just to show a few examples. The Apple URL Scheme Reference document describes all of the various URL schemes to integrate with different system apps. Nowhere in this document does it mention a URL scheme for the built in Notes app. If it were possible to send text to the Notes app, I would expect the document to advertise the fact. While it's not conclusive proof that it's not possible, I still think it should be cited as strong evidence of such.
Note that there are likely several third party note-taking apps that have their own custom URL scheme that may support launching with text.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With