support ios6(check version before background fetch)