I am integrating the Podio SDK. I am getting all data item values and updating also, but images won't upload. Any idea? I don't know how to upload an image on Podio SDK.
NSData *data = UIImageJPEGRepresentation(self.ImgView_Sign.image, 0.8f);
[[[PKTFile uploadWithData:data fileName:@"mobi.jpg"] pipe:^PKTAsyncTask *(PKTFile *file){
PKTItem *item = [PKTItem itemForAppWithID:431525395];
item[@"title"] = @"CHEKRI";
item[@"signautre"] = file;
return [item save];
}] onSuccess:^(PKTItem *item){
NSLog(@"PKT FILE is %@",item);
} onError:^(NSError *error){
NSLog(@"Error file %@",error);
}];