0

如果我在代码中使用块并将 iOS 部署目标设置为低于 iOS 4.0,该应用程序是否仍可在运行低于 4.0 的 iOS 的设备上运行?

Base SDK 显然设置为最新的 iOS (iOS 4.3)。

4

1 回答 1

2

From the apple documentation:

Blocks are available in GCC and Clang as shipped with the Mac OS X v10.6 Xcode developer tools. You can use blocks with Mac OS X v10.6 and later, and iOS 4.0 and later.

So the answer is no, you can't use blocks when deploying to 3.2 targets.

于 2011-06-30T06:05:05.520 回答