add iOS detection

network test takes too long and block page loading