title: Custom Segue - unrecognized selector sent to instance - setUseDefaultModalPresentationStyle
body: <p>I'm using this <a href="https://github.com/AlvaroFranco/AFBlurSegue" rel="nofollow noreferrer">custom segue</a>. It works perfectly on iOS8+, however, on iOS 7, I get this error.</p>
  
  <pre><code>2015-10-09 13:59:02.891 APPNAME[1790:60b] -[APPNAME.AFBlurSegue setUseDefaultModalPresentationStyle:]: unrecognized selector sent to instance 0x15ddafe0
  2015-10-09 13:59:02.901 APPNAME[1790:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[APPNAME.AFBlurSegue setUseDefaultModalPresentationStyle:]: unrecognized selector sent to instance 0x15ddafe0'
  *** First throw call stack:
  (0x2e5c6f83 0x38d77ccf 0x2e5ca917 0x2e5c9203 0x2e518768 0x312c0381 0x312b63fb 0x30e19037 0x30e18fd7 0x30e18fb1 0x30e04717 0x30e18a2f 0x30e18701 0x30e136cb 0x30de88cd 0x30de6f77 0x2e59220b 0x2e5916db 0x2e58fecf 0x2e4faebf 0x2e4faca3 0x33400663 0x30e4714d 0x13e65c 0x39284ab7)
  libc++abi.dylib: terminating with uncaught exception of type NSException
  (lldb)
  </code></pre>
  
  <p>The problem is, the crash is vague. I even tried putting breakpoints everywhere and tried to catch any errors thrown. However, it still doesn't point to where the error could be.</p>
  
  <p>The fact that it seems like an argument/selector error, I suspect this might be a Swift 2 error. The only place I can find a reference to setUseDefaultModalPresentationStyle is <a href="https://github.com/nst/iOS-Runtime-Headers/blob/master/Frameworks/UIKit.framework/UIStoryboardPresentationSegueTemplate.h" rel="nofollow noreferrer">here</a>. </p>
  
  <p>Any help would be greatly appreciated!</p>