Returns the default container object for managing the current app’s content.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The container object associated with the current app’s content. This method always returns a valid container object.
Use this method to retrieve the container for your app’s native content. This container is the one your app typically uses to store its data. If you want the container for a different app, create and initialize that container using the
During development, the returned container object points to a development version of your app’s container. When you ship your app, the returned object points to the live production environment.