@badben the line [sourceStr containsString:g_extensionStr] will only execute if the device is using iOS 9, Otherwise it will assume you are using a different version of iOS and skip ahead to the part of code that still supports older iOS's.