fix ios example to support xcode 7

Change-Id: I059313ba0d9633aa81292cbcee8e676c0d8e130d
2 files changed