タグ付けされた質問 「info-plist」

4
リモートプッシュ通知では、Info.plistにUIBackgroundModesを追加する必要がありますか?
リモートプッシュ通知を統合しましたが、次の警告が表示されます。 didReceiveRemoteNotification:fetchCompletionHandler:]ただしremote-notification、サポートされているのリストに「」 を追加する必要がありUIBackgroundModeますInfo.plist。 Xcodeのバージョンは8.3.1です。これを本当に追加したいですInfo.plist。私もいくつかのチュートリアルに従いましたが、彼らもこれについて言及しませんでした。私は本当に何をすべきですか?

3
canOpenUrl-このアプリはスキームインストラグラムのクエリを実行できません
iOS9のアプリにInstagramのURLを追加しようとしていますが、次の警告が表示されます。 -canOpenURL: failed for URL: "instragram://media?id=MEDIA_ID" - error: "This app is not allowed to query for scheme instragram" しかし、アイブ氏は次のように追加LSApplicationQueriesSchemes私の中でinfo.plist。 <key>LSApplicationQueriesSchemes</key> <array> <string>instagram</string> <string>instagram://media?id=MEDIA_ID</string>//this one seems to be the issue </array> 何か助けは大歓迎ですか? 編集1 これは私がInstagramを開くために使用しているコードです: NSURL * instagramURL = [NSURL URLWithString:@"instragram://media?id=MEDIA_ID"];//edit: note, to anyone copy pasting this code, please notice the typo …
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.