ios - parse getDataInBackground -
i have pffile has url sound file. when call getdatainbackgroundwithblock
receiving following error. have confirmed url (i.e. can log out , open in web-browser , play it. why issue happening?
[audio getdatainbackgroundwithblock:^(nsdata *data, nserror *error) { nslog(@"data: %@",data); }];
yet nsdata *mydata = [audio getdata]
works...
error
[pftaskcompletionsource encodewithcoder:]: unrecognized selector sent instance 0x170206d40'
Comments
Post a Comment