Corrected iOS samples