Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- ios
- MySQL
- C#
- Memory
- encoding
- iphone
- Android
- 티스토리 초대
- spring
- WebView
- HTML
- 메모리
- 이클립스
- Tomcat
- udp
- permgen space
- jQuery
- java
- Eclipse
- XML
- Objective C
- UIWebView
- 톰켓
- 한글
- jsp
- Database
- 티스토리 초대장
- JavaScript
- ipad
- 인코딩
Archives
- Today
- Total
목록user-agnet (1)
suroMind
[iOS]UIWebView에서 user-agent 변경
출처 : http://wkqqn.tistory.com/archive/20110711 기존에 user-agent 변경하는 방법을 Swizzle을 이용해서 변경했었는데 iOS 5로 업데이트 되면서 변경이 안되었다. 물론 앱스토어에 올라가 있는 앱들이 제대로 되지도 않고.. 그래서 찾아보다가 한참을 헤매었는데 위 블로그에서 아래와 같은 방법을 찾았다. AppDelegate.m 파일에 아래 코드를 넣으면 됩니다. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSString *deviceModel = [[UIDevice currentDevice].model st..
IT분야/iOS
2012. 1. 31. 16:23