Quote:
Originally Posted by shabzcohelp
bump! Does anyone know how to do this?
|
static NSString *string = @"http://www.mobileorchard.com";
NSDictionary *item = [NSDictionary dictionaryWithObjectsAndKeys:
string, @"public.utf8-plain-text", [NSURL URLWithString:string],
(NSString *)kUTTypeURL,
nil];
pasteboard.items = [NSArray arrayWithObject:item];