Sample code for touch to build native for ipad