NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
、次のコードを使用してパスを取得することができ、出力はこの
~Library/Application Support/iPhone Simulator/<IOSVERSION>/Applications/<UUID>/Documents/My folders
のようなものですが、私はパスをトリミングする、のような、私はパスを取得したいです/ドキュメント/マイフォルダ。どのようにそれを行うことができますか?