如何获得当前设备的名称
如何获得当前设备的名称,比如 tangaowen's iPhone,
My iPhone 等等。
辅助函数定义:
+ (NSString*)getIphoneName;
函数实现:
+ (NSString*)getIphoneName
{
return [[UIDevice currentDevice] name];
}