创建了一个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