Detect iOS or desktop