rpetrich / libactivator

Centralized gestures and button management for iOS
http://rpetri.ch/cydia/activator/
181 stars 40 forks source link

Is it possibile to use activator like an option and not as dependency? #170

Closed paul5 closed 10 years ago

paul5 commented 10 years ago

In my project I want that the users can set an activator gesture to do something ... But if it is not installed in the system my project doesn't work as it should do... Does exist a safe way to check if it is installed and if not disable the listener?

rpetrich commented 10 years ago

You can access Activator weakly like so: [[objc_getClass("LAActivator") sharedInstance] ...];