Skip to content

Commit

Permalink
Create index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkeinecke authored Jul 29, 2018
1 parent 11fdde6 commit a2087d0
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Standard User-Agent einer UIWebView ermitteln
---

## Standard User-Agent einer UIWebView ermitteln

Das folgende Beispiel zeigt, wie man den Standard User-Agent einer `UIWebView` ermitteln kann.

```objective_c
UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectZero];
NSString *userAgent = [webView stringByEvaluatingJavaScriptFromString:@"navigator.userAgent"];
```

0 comments on commit a2087d0

Please sign in to comment.