UIScreen* screen =[UIScreen mainScreen];
UIDevice* device = [UIDevice currentDevice];
UIScreenMode* screenMode = [screen currentMode];