0
После настройки моего приложения, как подсказка pinterest предлагает (https://developers.pinterest.com/docs/sdks/ios/) Я попытался прикрепить простую картинку и не смог. Он возвращает следующую ошибку:iOS Pinterest insert nil object
NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[3]'
Даже если я использую pinterest SDK [пример кода] [2].
[PDKPin pinWithImageURL:[NSURL URLWithString:@"https://about.pinterest.com/sites/about/files/logo.jpg"]
link:[NSURL URLWithString:@"https://www.pinterest.com"]
suggestedBoardName:@"Tooty McFruity"
note:@"The Pinterest Logo" withSuccess: ^{
NSLog(@"successfully pinned pin");
}
andFailure: ^(NSError *error) {
NSLog(@"pin it failed");
}];
Что я делаю неправильно? Или это ошибка SDK?
raw key, CFBundleDisplayName – Underdog
Дальнейшая дискуссия на этом поле [здесь] (http://stackoverflow.com/a/3465924/885189). – JaredH