Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-11-2009, 05:25 PM   #2 (permalink)
shabzcohelp
Registered Member
 
Join Date: May 2009
Posts: 44
shabzcohelp is on a distinguished road
Default

Quote:
Originally Posted by shabzcohelp View Post
Hello once again,

I am having a problem copying both a UIImage and a String to the pasteboard.

if I use
Code:
pasteboard.image = myImage;
alone or
Code:
pasteboard.string = myString;
it works, but if I try to combine them using NSDictionary it doesn't work. Here is the code that I used

Code:
NSDictionary *item = [NSDictionary dictionaryWithObjectsAndKeys: myString, @"myfield", Image1.image,@"image", nil];
		pasteboard.items = [NSArray arrayWithObject:item];
bump! Does anyone know how to do this?
shabzcohelp is offline   Reply With Quote
 

» Advertisements
» Online Users: 871
22 members and 849 guests
7twenty7, ADY, blueangle, Budulajus, dacapo, DaveDee, gbergamo, GHuebner, givensur, IOOIOIO, jangus, john love, Kronokrator, LegionMD, LooN3y, Meoz, mohamed khairy hassa, nestochi, pipposanta, Sebastian, Today's Posts
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,282
Threads: 93,959
Posts: 402,306
Top Poster: BrianSlick (7,971)
Welcome to our newest member, kurtwatson
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:22 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.