iOS Example Fixes

Fixes a few issues for iOS examples so that they compile.