2 u010321179 u010321179 于 2013.04.19 10:38 提问

应用可以创建dropbox文件夹

创建了一个iphone程序,用来整合Dropbox SDK。但是在Dropbox中创建文件夹时报错。请高人指点一下应该怎么创建文件夹?

代码:

(DBRestClient*)restClient { 
 if (restClient1 == nil) {
    restClient1 = [[DBRestClient alloc] initWithSession:[DBSession sharedSession]];
    restClient1.delegate = self; }
    return restClient1; }

(IBAction)folderCreateMethod:(id)sender {
  [[self restClient] createFolder:@"/YourFolder"];

   }

错误:

-[__NSCFConstantString stringByAddingURIPercentEscapesUsingEncoding:]: unrecognized selector sent to instance 0x2fe5c

Csdn user default icon
上传中...
上传图片
插入图片