Changed IOS version to use use iCloudDocument parameters instead of UIDocument parameters to be consistent with OS X