Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPad Pro "HTTP_USER_AGENT" of iOS UIWebView

Tags:

ios

ipad

I tested my existing iOS app on the new iPad Pro. And I found out that HTTP_USER_AGENT text of UIWebview is ...

Mozilla/5.0 (iPhone; CPU iPhone OS9_1 like Mac OS X) AppleWebKit/601.1.46(KHTML, like Gecko)Mobile/13B143 

So,web side program react as if this device is iPhone. How can I distinguish between iPad Pro and iPhone in my server side program?

like image 400
Keisuke Uemura Avatar asked Nov 13 '15 04:11

Keisuke Uemura


1 Answers

By adding Launch Screen.stoyboard, this problem will be solved.

like image 126
Keisuke Uemura Avatar answered Oct 21 '22 05:10

Keisuke Uemura