Tweaks to the iOS sample.