2011年8月15日

流量统计

摘要: 而是通过函数getifaddrs来得到系统网络接口的信息..比如#include #include #include - (void) getInterfaceBytes{ struct ifaddrs *ifa_list = 0, *ifa; if (getifaddrs(&ifa_list) == -1) { return; } uint32_t ... 阅读全文

posted @ 2011-08-15 11:43 风乔 阅读(458) 评论(0) 推荐(0) 编辑

重力感应

摘要: 呵呵,难得能遇到我可以解决的问题.我刚刚做好的程序用到这个.我来说明下吧XXXAppDelegate.m 中- (void)applicationDidFinishLaunching:(UIApplication *)application {glView.animationInterval = 1.0 / 60.0;[glView startAnimation];... 阅读全文

posted @ 2011-08-15 09:32 风乔 阅读(264) 评论(0) 推荐(0) 编辑

导航