fixed ios examples for 008
Merge pull request #2222 from julapy/ios-example-fixes

fixes for ios examples for 008