Activator events for dropping your phone.
Useful for logging drops (maybe if you lend your phone to someone), funny jokes (like screaming or text-to-speech), or maybe locking your phone when it hits your bed or desk.
Please note that it may take 30 seconds at most after enabling for tweak to take effect (this is hopefully temporary and is in place as a way to save battery until I find the correct way to do it).
The code was based a lot off of FreeFall. Thanks to Steve Rolfe for FreeFall, as well as the iPhoneDevWiki for all of the help and resources there, and uroboro for his example Activator event code and his help on IRC.
Please note that the preference bundle uses SettingsKit, so you’ll need that installed if you want to compile/mess with this project. In the makefile for the preference bundle, I disabled ARC (even though I should probably use it) because I have SettingsKit set up to work this way. You’ll probably want to uncomment that line in the makefile and re-enable ARC, though (unless you have it set up like me).
Licensed under the MIT License (do whatever you want with it :)
The MIT License (MIT) Copyright (c) 2014 Milo Darling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.