Post

Replies

Boosts

Views

Activity

iOS 14 beta critical null bug for PHAssetCollection.localizedTitle that are short foreign album name
PHAssetCollection.localizedTitle returns "nil" for albums that has 1 or 2 characters in Chinese/Korean language (could be happening for other languages, but we have not tested). Reproduction step: On iOS 14.0 beta3, create an album with foreign language (ex. Korean name: "안녕", Simplified Chinese: "照片") 2. NSLog PHAssetCollection.localizedTitle for this album in a test app Expected: PHAssetCollection.localizedTitle should return correct album name Actual: PHAssetCollection.localizedTitle returns (null) This seem to only happen for album names less than 3 characters. It is fine for album names that are 3 characters or longer. This seems to happen for albums created in iOS 13 and upgraded to iOS14 as well, so the impact will be large. We have reports from multiple production users about this issue.
7
0
1.8k
Jul ’20