user3717717
user3717717

Reputation: 25

Get a highlighted text in objective-c

I'm trying to get the StringValue of any text (Out side my application) that has been selected by the cursor. I tried checking on NSControl class,but i didn't find anything useful.

Upvotes: 0

Views: 84

Answers (1)

Avi
Avi

Reputation: 2216

[UIPasteboard generalPasteboard].string

Upvotes: 0

Related Questions