//判断是iphone或是ipad等 NSLog(@"Device -- %@",[UIDevice currentDevice].model);//系统版本 NSLog(@"version -- %@",[UIDevice currentDevice].systemVersion);