ios
nodie
这个作者很懒,什么都没留下…
展开
-
iOS获取当前系统的相关信息
NSLog([[UIDevice currentDevice] name]); // Name of the phone as named by userNSLog([[UIDevice currentDevice] uniqueIdentifier]); // A GUID like stringNSLog([[UIDevice currentDevice] systemName]...原创 2012-01-12 15:44:31 · 476 阅读 · 0 评论 -
如何获取iphone的硬件版本以及系统信息
reference: http://blog.csdn.net/xiaoguan2008/article/details/6582699 获取iphone的系统信息使用[UIDevice currentDevice],信息如下:[[UIDevice currentDevice] systemName]:系统名称,如iPhone OS[[UIDevice curren...原创 2012-01-12 15:46:47 · 491 阅读 · 0 评论 -
iOS开发中常用代码解释
#include /* 说明 malloc, NULL, size_t */#include /* 说明 va_ 相关类型和函数 */#include /* 说明 strcat 等 */char *vstrcat(const char *first, ...){size_t len;char *retbuf;va_list argp;char *p;...原创 2012-01-12 15:49:32 · 571 阅读 · 0 评论 -
Android获取手机和系统版本等信息的代码
String phoneInfo = "Product: " + android.os.Build.PRODUCT; phoneInfo += ", CPU_ABI: " + android.os.Build.CPU_ABI; phoneInfo += ", TAGS: " + android.os.Build.TAGS; phoneIn...原创 2012-01-12 16:02:05 · 559 阅读 · 0 评论