Change WebView user-agent in iOS

Hello. I’m a React / Expo starter.
(i’ve only used, obj-c & java)

I’m developing a simple app.
It needs to change the user-agent of WebView and load the desktop-specific content.

But, Expo does not support (in iOS)?

I just started, but just do “detech”?


Can I Modify AppDelegate.m? or similar something?

(Sorry for my poor English…)

currently you can only set the user-agent on android:

if you can’t work around this in some way, the best bet would be to eject or to submit a pull request to react-native to add support for custom user agent to react-native itself

1 Like

Thank you…

i’m going detach T_T.