Working both in iPad and Simulator. [Internet was not available in device]