updated IOS sample app with new SDK