Skip to content

Commit 779c323

Browse files
Update README.md
1 parent 23644b0 commit 779c323

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ let isIpad = UIDevice.current.isIpad
3131

3232
Objective-C:
3333
```Objective-C
34-
NSString *deviceModelName = [UIDevice currentDevice].deviceModelName
35-
NSLog("Current device: %@", deviceModelName)
34+
NSString *deviceModelName = [UIDevice currentDevice].deviceModelName;
35+
NSLog(@"Current device: %@", [UIDevice currentDevice].deviceModelName);
36+
37+
BOOL isIpad = [UIDevice currentDevice].isIpad;
3638
```

0 commit comments

Comments
 (0)