为什么Xcode警告我xib文件中的标题阴影偏移,即使我的目标是iPhone OS 3.0?

Mik*_*ers 4 iphone xcode warnings xib iphone-sdk-3.0

当我构建我的iPhone项目时,我收到来自xcode的关于我的一些xib的警告说:

Specifying a title shadow offset in Interface Builder is not supported by the iPhone SDK for iPhone OS versions prior to 3.0.

事实是,我正在构建3.0,基本SDK设置为3.0.我已经做了一些探索,找不到任何看起来会解决问题的东西.

我做了一些谷歌搜索并搜索了Apple的开发论坛,但没有找到任何东西.这里有没有人有任何想法?

Mar*_*don 7

您还需要确保在IB中将部署目标设置为3.0.

在Interface Builder中,转到Window> Document Info并确保将Deployment Target设置为iPhone OS 3.0.

在XCode 4.2中,您可以选择Nib,然后打开文件检查器("视图">"实用程序">"文件检查器").在Interface Builder Document部分下,您将看到Deployment下拉列表.