Write in Main Bundle directory. Is it allowed?

后端 未结 2 631
轮回少年
轮回少年 2021-01-13 13:51

I was pretty sure that writing in the main Bundle isn\'t possible in iOS ... for example an operation like :

NSString *path = [[NSBundle mainBundle] pathFor         


        
2条回答
  •  礼貌的吻别
    2021-01-13 14:50

    The example is for OS X, which isn't quite as strict with permissions as iOS.

    I'd be surprised if you are able to do that for much longer (if you can at all now) in a Mac App Store application bundle, though.

    It could be worth filing a bug regarding the documentation.

提交回复
热议问题