`
gaobusi
  • 浏览: 197016 次
  • 性别: Icon_minigender_1
  • 来自: 安徽
社区版块
存档分类
最新评论

发布应用时,第三方库Three20应将代码中调试用的私有 API 注释或删除掉。

    博客分类:
  • IOS
阅读更多

 

   修改方案:

   a.Three20_1_0_11/src/Three20UI/Headers 目录下

   UIViewAdditions.h 文件中注释掉#ifdef

   DEBUG #endif 之间的代码

   /** * WARNING: This depends on undocumented APIs and may be fragile. For testing only. */ //#ifdef           DEBUG //- (void)simulateTapAtPoint:(CGPoint)location; //#endif

 

   b.Three20_1_0_11/src/Three20UI/Sources 目录下

   UIViewAdditions.m 文件

   30 行到 167 行注释掉,426 行到 441 行注释掉

  

   #ifdef

  DEBUG #endif 之间的代码

   同样在 UIWebViewAdditions.m 文件中

   58 行到 71 行注释掉

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics