Support iOS8

Support iOS8