stringByAppendingPathComponent, hows it work?

前端 未结 6 1251
暗喜
暗喜 2021-01-04 22:37

EDIT_v002

I have had a look at all the comments and I am starting to see what I should be doing. To that end I have modified my code (see below) I have changed new

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-04 22:54

    The last line should be:

    testPath = [testPath stringByAppendingPathComponent:@"/"];
    

提交回复
热议问题