Post

Replies

Boosts

Views

Activity

UIDevice.current.name is not accessible anymore in iOS 16?
Hi, there My app use UIDevice.current.name as a identification to save user's data. And in iOS public β & β 3 the value of UIDevice.current.name is not accessible anymore. It become to only iPhone or iPad not user-assigned device name in Setting->General->Name. When I looked into header file of UIDeivce.h @property(nonatomic,readonly,strong) NSString    *name;              // Synonym for model. Prior to iOS 16, user-assigned device name (e.g. @"My iPhone"). Will Apple not apply UIDevice.current.name anymore? Best regards, Bunny
4
1
4.2k
Jul ’22