Enumeration Case 列挙ケース

NSURLErrorBackgroundSessionRequiresSharedContainer

The shared container identifier of the URL session configuration is needed but hasn’t been set. URLセッション設定の共有コンテナ識別子が必要とされます、しかし設定されていません。

Declaration 宣言

NSURLErrorBackgroundSessionRequiresSharedContainer = -995

Discussion 議論

To use a NSURLSession to perform background uploading or downloading in an app extension, you coordinate with the host app using a shared container. The app extension must set the sharedContainerIdentifier of the URL session's configuration to the shared container's identifier. See Performing Uploads and Downloads in App Extension Essentials for more information. NSURLSessionを使ってバックグラウンドアップロードまたはダウンロードをアプリ拡張において実行するには、あなたはホストアプリと共有コンテナを使って連携します。アプリ拡張は、URLセッションのもつ構成設定のsharedContainerIdentifierを共有コンテナのもつ識別子に設定しなければなりません。Performing Uploads and DownloadsApp Extension Essentialsにおいてさらなる情報のために見てください。

See Also 参照

Error Codes さまざまなエラーコード