diff --git a/Tweak.xm b/Tweak.xm index 6b1a56e..e8535be 100644 --- a/Tweak.xm +++ b/Tweak.xm @@ -224,7 +224,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -(void)dismissSwitcher { SBUIController *uicontroller = (SBUIController *)[%c(SBUIController) sharedInstance]; - [uicontroller dismissSwitcher]; + if([%c(SBUIController) respondsToSelector:@selector(dismissSwitcher)]) + { + [uicontroller dismissSwitcher]; + } } -(void)wakeDeviceScreen