Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sent text to notes

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.

like image 362
äymm Avatar asked Sep 12 '11 16:09

äymm


People also ask

Can you send Messages in Notes on iPhone?

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.

Can you text someone on Notes?

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.

What happens when you send a note on iPhone?

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.


1 Answers

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.

like image 129
Matt Wilding Avatar answered Sep 24 '22 20:09

Matt Wilding