Post

Replies

Boosts

Views

Activity

is there any other API that can return the device model number
From the below tests ran on my iPhone 12, the model and name API from UI device both return "iPhone" only, is there any other way that we can get "iPhone 12" instead of iPhone? Since the API stop returning full model information from iOS16+, we have been getting not sufficient model information for our app, so seeking for a API that does not require entitlement review/update for such purpose (as we have fail that request once before) code: print("UIDevice.current.model: (UIDevice.current.model)") print("UIDevice.current.name: (UIDevice.current.name)") log: UIDevice.current.model: iPhone UIDevice.current.name: iPhone
0
0
368
Feb ’24
ASCredentialIdentityStore.removeCredentialIdentities does NOT remove the credential as expected
what could be the reason that we after saving and deleting the same list of [ASPasskeyCredentialIdentity], the credential still show up in the OS UI (quick type bar or when tapping the password key icon on top of the keyboard). does that mean the remove operation fail? but our log indicate that the removeCredentialIdentities completion closure succeed without error. and for the ASPasskeyCredentialIdentity initialization, we fill in the parameters from the same object, so we believe the id parameter shall be the same (which identify the same ASPasskeyCredentialIdentity to be saved and removed) what could be the reason that it is still showing up in the OS UI? is this a know issue?
7
1
1.2k
Sep ’23