アプリにドロップボックスを統合しました。ファイルがユーザーに表示され、ダウンロードするファイルを選択できるようになりました。この行を呼び出す必要があることはわかっていますが、iPhone のローカル ファイル パスがわかりません。テキストファイルを取得したら処理するので、一時的なもので十分です...私の質問は、ローカルファイルパスです。前もって感謝します。
[[self restClient] loadFile:[filePaths objectAtIndex:indexPath.row] intoPath:localPath]
次の回答に基づいて更新:::まだ機能していません
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
NSString *localPath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0] stringByAppendingString:[filePaths objectAtIndex:indexPath.row]];
[[self restClient] loadFile:[filePaths objectAtIndex:indexPath.row] intoPath:localPath];
NSLog(@"%@",[NSString stringWithContentsOfFile:localPath encoding:NSUTF8StringEncoding error:nil]);
}