UIDevice+Hardware.h 实现