detect ios only, android can be the "else"