我有下面的代码:#define指令问题
#define checkLiteMessage \
{ \
#ifdef LITE_VERSION \
if (alertView.tag == 100) \
{ \
if (buttonIndex == 1) \
[ [UIApplication sharedApplication] openURL: buyAppLink]; \
[alertView release]; \
return; \
} \
#endif \
} \
我想要做的是有下面的代码被列入每次我打电话checkLiteMessage时间:
#ifdef LITE_VERSION
if (alertView.tag == 100)
{
if (buttonIndex == 1)
[ [UIApplication sharedApplication] openURL: buyAppLink];
[alertView release];
return;
}
#endif
什么我的问题?为什么不编译这个代码?
谢谢。
+1,肯定好办法解决:) – 2009-07-17 17:31:40
速度打字课程应该是强制性的。做得好。 – 2009-07-17 17:35:42