mapbox / fingertips Goto Github PK
View Code? Open in Web Editor NEWTouch indicators on external displays for iOS applications.
License: BSD 3-Clause "New" or "Revised" License
Touch indicators on external displays for iOS applications.
License: BSD 3-Clause "New" or "Revised" License
When I add the URL https://github.com/mapbox/Fingertips
as a dependency in Xcode, I cannot specify version 0.6.0 because the tag is not parsed by Xcode (it doesn't like the "v").
In this attached screenshot, notice how the highest version it shows is 0.4.0
, because that's the highest tag it can parse.
I love this plugin, but for new projects with a Scene Delegate it doesn't work.
How do you modify this to work with a Scene Delegate?
// AppDelegate.m
var window: UIWindow? = MBFingerTipWindow(frame: UIScreen.mainScreen().bounds)
// AppDelegate.swift (Swift 3)
var window: UIWindow? = MBFingerTipWindow(frame: UIScreen.main.bounds)
Video/screenshot to follow
Hey, thanks for this repo!
I created a step by step guide to install this on your iOS project.
Hope it helps anyone :)
/Users/xxxx/Projekte/Apps/xxx/Pods/Fingertips/MBFingerTipWindow.m:217:21: Enumeration values 'UITouchPhaseRegionEntered', 'UITouchPhaseRegionMoved', and 'UITouchPhaseRegionExited' not handled in switch
I am getting occasionally EXC_BAD_ACCESS at MBFingetTipWindow.m, line 258:
[super sendEvent:event];
Do you plan to push version 0.6.0 to CocoaPods (Podspec)?
Could you please add support for QuickTime recording?
Apparently it's possible to detect if the phone screen is being recorded using the following technique:
link
No warnings when building an Xcode project that uses CocoaPods to depend on Fingertips.
Xcode displays a "Buildtime" warning on Pods.xcodeproj stating "Update to recommended settings". Clicking on the warning displays a view with an issue in Fingertips: "An iOS Deployment Target earlier than 8.0 is not supported by this version of Xcode. This will update the value for Target 'Fingertips' to '8.0'."
Add pod 'Fingertips'
to your Podfile
Run pod install
Load your Xcode project and build
Xcode 8.3.3
Fingertips 0.5.0
We're trying to use this with Carthage and when we execute carthage update
nothing gets built. Upon further inspection, it appears that the project file is not brought down. Any ideas?
A screenshot or animated GIF in the README
would be helpful.
setting alwaysShowFingerTips
to true doesn't seem to be working. I set it to true immediately after creating the window and never saw any fingertips.
Fingertips works well when I project the phone screen to AppleTV using AirPlay.
But when I connect the phone to Mac with Lightning cable, it doesn't work.
I have to set alwaysShowTouches as true, then I can see the fingertips, but it always shows.
Can you fix this?
And, can you add enable/disable API to turn on/off the fingertips even when connected to AirPlay?
Thanks.
In AppDelegate.m import the following class:
Add the following method:
//Used for showing touches
When this plugin is installed and it is using, the viewControllers can't change the status bar style with methods like preferredStatusBarStyle
In the appDelegate's didFinishLaunchingWithOptions
, I tried setting the window
property but no luck (Executing the code below, my app landed on a black screen after the splash and that was it - not sure where to go from there)
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
//...
window = MBFingerTipWindow(frame:UIScreen.mainScreen().bounds)
//...
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.