Facebook iOS SDK freigeben Bild von der App

Ich versuche teilen das Bild auf Facebook. Das ist Arbeit.

 NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                   kAppId, @"app_id",
                                   url, @"link",
                                  @"http://yandex.st/morda-logo/i/logo.png", @"picture",
                                   title, @"name",
                                   produc, @"caption",
                                   tempString, @"description",
                                   message, @"message",
                                   nil];

Aber ich will teilen Bild aus meiner App. Ich versuche

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                   kAppId, @"app_id",
                                   url, @"link",
                                  [UIImage imageNamed:@"nav.png"], @"picture",
                                   title, @"name",
                                   produc, @"caption",
                                   tempString, @"description",
                                   message, @"message",
                                   nil];

Aber ich habe ein problem:

:Rahmen:decisionListener: delegieren:
-[UIImage Länge]: unrecognized selector geschickt Instanz 0xc98b1d0

Was mache ich falsch?
Vielen Dank

InformationsquelleAutor Alexander | 2013-03-12
Schreibe einen Kommentar