modified for iOS8 , iPhone6/6plus