iphone - Create folder in dropbox from application -


i'm making iphone application need integrate dropbox sdk. i'm getting error while creating folder in dropbox.please can tell me how create folder.

here code

(dbrestclient*)restclient {   if (restclient1 == nil) {     restclient1 = [[dbrestclient alloc] initwithsession:[dbsession sharedsession]];     restclient1.delegate = self; }     return restclient1; }  (ibaction)foldercreatemethod:(id)sender {   [[self restclient] createfolder:@"/yourfolder"];     } 

i'm getting below error

-[__nscfconstantstring stringbyaddinguripercentescapesusingencoding:]: unrecognized selector sent instance 0x2fe5c 

stringbyaddinguripercentescapesusingencoding not method of nsstring defined in category.

to use categories defined in library -- dbrestclient -- have pass -objc flag linker (in xcode)


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -