Updated iOS sample app to use latest API changes.

App wasn't building after a fresh clone.
Merge pull request #50 from zorn/patch-1

Updated iOS sample app to use latest API changes.