Hi all,
Just wondering if anyone would know where to start in order to make a tweak to navigate photo library by swiping over the proximity sensor to go left or right, similar to the sleeksleep tweak which dims and undims the screen with a swipe over?

I've tried using flex 2 on iPhone 5 iOS 7.0.6 but no idea what nearly 90% of the stuff means on there.