containerURLForSecurityApplicationGroupIdentifier returns nil on iOS Simulator

前端 未结 7 1382
我寻月下人不归
我寻月下人不归 2020-12-18 18:27

Context

With iOS8 and extensions Apple introduced the App group containers (more info here).

Problem

We use it through NSFileManager\'s

7条回答
  •  我在风中等你
    2020-12-18 19:05

    The Method containerURLForSecurityApplicationGroupIdentifier: works in my Simulator. But if i delete all files in the group folder (in case a user performs a logout in my app) the method returns nil on the next RUN in Xcode 6.1. I tested this with Xcode 6.2 and iOS SDK 8.2 Beta as well but it doesn't work.

    The Code runs fine on a real device.

    I also tried the above solutions without success.

提交回复
热议问题