changed back to IOS as isIPad returns false in the simulator