iOS sample prepared