私は友人の壁を投稿するためにダイアログを使用していました。ここで、self.fbFriendsInvitedid は友達 ID の配列です。dilog を開くのを遅らせたいです。配列要素が大きい場合、アプリがクラッシュするためです。どうすればよいですか?
Facebook *fb = [((AppDelegate*)[[UIApplication sharedApplication] delegate]) fbInstance];
NSLog(@"%@",self.fbFriendsInvited);
NSLog(@"%@",self.fbFriendsInvitedid);
for (int i=0; i<self.fbFriendsInvitedid.count; i++) {
NSObject *obj=[self.fbFriendsInvitedid objectAtIndex:i];
NSLog(@"%@",obj);
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
obj,@"to",@"Invite Me", @"name", @"available for iOS apps in Facebook Platform.", @"caption", @"Check out 'Invite Me' for iOS & be my friend here",@"description",@"http://www.inviteme.com",@"link",@"http://www.facebookmobileweb.com/inviteme/img/facebook_icon_large.png", @"picture",nil];
[fb dialog:@"feed" andParams:params andDelegate:self];
助けてください。!!