test iOS code