Device.name() on iOS16 has some problem

I used to use Device.name() to get my iPhone’s name and it was feasible.But when I updated to iOS 16, it returns change to just “iPhone”, is there someone else have this problem?

I had this same issue with another app and they had to update the app to make it work properly. In the other app it was backing up photos and it should’ve been put under the device name but instead was doing so under just “iPhone” as you mentioned.

Once they updated the app it worked fine after that.

@simonbs , it sounds like Scriptable will need an update to fix Device.name(). If you aren’t already aware of course.

1 Like

That’s behavior that Apple changed on iOS 16:

In iOS 16, UIDevice.name has changed to only return the model of the device, not the user specified name.

https://developer.apple.com/forums/thread/708275

1 Like