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

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -