Updated iOS sample app to use latest API changes.

App wasn't building after a fresh clone.