Reference for iOS sample corrected