I\'d like to create a user account on the server for new users of an app, but I\'d also like to not ask the user to type in anything. Ideally, I\'d like this to be automatic
It is not an absolute sure solution (and only works when iCloud enabled), but it is very easy to implement: Generate a unique ID once (like UUID) and store it in iCloud key-value-storage.
The only problem is that advanced users know how to delete content from the iCloud.
To prevent the user just editing the unique ID stored in iCloud to someone else ID you can add some kind of secret to.