Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不知道我正在为哪个 iPhone OS 编译代码,3.0 还是 2.2...
在 xCode 的构建配置中检查您的目标。
#ifdef __IPHONE_3_0 NSLog(@"THE 3.0 SDK"); #endif