Skip to content

Commit a681919

Browse files
committed
Further README improvements
1 parent 8bfd164 commit a681919

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
Fingertips is a small library (one class) meant for presentations from iOS devices that shows all touches and gestures so that the audience can see them.
88

9-
This is only designed for the iPad 2 and iPhone 4S (or later), which feature [hardware video mirroring](http://www.apple.com/ipad/features/airplay/) support. **This library does not do the mirroring for you!**
9+
**This library does not do the mirroring or screen recording for you!**
1010

11-
Just drop in our replacement `UIWindow` subclass and your app will automatically determine when an external screen is available. It will show every touch on-screen with a nice partially-transparent graphic that automatically fades out when the touch ends.
11+
Just drop in our replacement `UIWindow` subclass and your app will automatically determine when you are in the screen recording or an external screen is available. It will show every touch on-screen with a nice partially-transparent graphic that automatically fades out when the touch ends.
1212

1313
If you are using storyboards, the easiest way to integrate Fingertips is to override the `window` method of your application delegate like this:
1414

@@ -23,6 +23,13 @@ If you are using storyboards, the easiest way to integrate Fingertips is to over
2323
}
2424
```
2525

26+
27+
```swift
28+
// AppDelegate.swift (Swift)
29+
30+
var window: UIWindow? = FingerTipWindow(frame: UIScreen.main.bounds)
31+
```
32+
2633
For iOS 13+ with UISceneDelegate:
2734
```swift
2835
var windows: [UIWindow] = []
@@ -40,12 +47,6 @@ func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options conn
4047

4148
```
4249

43-
```swift
44-
// AppDelegate.swift (Swift)
45-
46-
var window: UIWindow? = FingerTipWindow(frame: UIScreen.main.bounds)
47-
```
48-
4950
Fingertips require iOS 11.0 or greater and ARC. It uses **no private API** and is safe for App Store submissions.
5051

5152
https://github.com/mapbox/Fingertips/assets/735178/833f659e-b549-4e74-ae27-e695f37717b6

0 commit comments

Comments
 (0)