u3dxt: how to check if iCloud is connected?

Hi!

I’m using iCloudPrefs to store key/value pairs in iCloud, and want to display a message to the user if iCloud isn’t connected. Any way to access this information?

Great plugin, by the way!

Hi, you can use the iCloudPrefs.iCloudID property to check. http://u3dxt.com/api/?topic=html/P_U3DXT_iOS_Data_iCloudPrefs_iCloudID.htm. If null or empty string, that means the user has not logged into iCloud. Otherwise, it’s a string representing the ID.