摘要: - (NSString *) platformString{ // Gets a string with the device model size_t size; sysctlbyname("hw.machine", NULL, &size, NULL, 0); char *machine = malloc(size); sysctlbyname("hw.machine", machine, &size, NULL, 0); NSString *platform = [NSString stringWithCString:machine 阅读全文
posted @ 2013-10-11 15:50 飞云飘雪 阅读(201) 评论(0) 推荐(0)