开发者

iPad Universal Binary - problem with MessageUI.framework

I'm in the process of turning one of my iPhone apps into a universal binary. Everything works ok accept for the MFMessageComposeViewController Class. I went the single project with two targets route.

When I run the iPad Target, the compiler flags the MFMessageComposeViewController. Obviously, this was introduced in 4.0 but the reference is in the iPhone Classes, not the iPad. Why is this and what am I missing?

Oh, and the Mess开发者_StackOverflowageUI.framework is weak-linked in both Targets.


You should build against the 4.0 SDK even when running on iPad. Just make sure not to reference the class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜