Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 ASP Classic/Legacy 中检测 iPad 的最佳方法是什么。
最好是返回 true 或 false 的方法。
Function is_iPad() Dim user_agent user_agent = Request.ServerVariables("HTTP_USER_AGENT") If InStr(1, user_agent, "ipad", 1) Then is_iPad = true Else is_iPad = false End If End Function