Post

Replies

Boosts

Views

Activity

Why Base localization for purpose string in NSLocationTemporaryUsageDescriptionDictionary doesn't work?
Base Localization for Purpose Key of NSLocationTemporaryUsageDescriptionDictionary : Not working. But, Base Localization for NSLocationWhenInUseUsageDescription : Working. Base Localization: English CFBundleDevelopmentRegion: en_US When iPhone Language Setting is Not English, I can see "AAA" in the location authorization request dialog. However, in the temporarily use location services with full accuracy dialog, I can see "....". Why Base localization for purpose string in NSLocationTemporaryUsageDescriptionDictionary doesn't work? Info.plist <key>NSLocationWhenInUseUsageDescription</key> <string>....</string> <key>NSLocationTemporaryUsageDescriptionDictionary</key> <dict> <key>MyPurposeKey</key> <string>....</string> </dict> InfoPlist.strings (Base) NSLocationWhenInUseUsageDescription = "AAA"; MyPurposeKey = "BBB"; InfoPlist.strings (English) NSLocationWhenInUseUsageDescription = "aaa"; MyPurposeKey = "bbb";
3
0
1.8k
Oct ’20
AVPlayer disappeared When entering the foreground mode after entering the background mode.
AVPlayer disappeared When entering the foreground mode after entering the background mode. It works correctly when playing .mp4 files, but this issue occurs when playing .m3u8 files. This problem occurs in iOS 14 but not iOS 13. After AVPlayer play correctly, it is paused when entering the background mode. When entering the foreground mode, the AVPlayerLayer disappeared, and only a black screen is displayed. This happens with both AVPlayerLayer and AVPlayerViewController.
2
0
1.4k
Dec ’20