首页 > ios6下, 怎样取掉 xib 中的 Group Table View Background Color is deprecated warning

ios6下, 怎样取掉 xib 中的 Group Table View Background Color is deprecated warning

ios6中,Group UITableView 的背景颜色已经无效。在代码中删除就好了,但之前xib设置了颜色,所以在xib里面会有warning。请问有人知道怎么取掉吗?


可以在出错的那行上忽略之

#pragma GCC diagnostic ignored "-Wdeprecated-declarations"

或者直接在GCC的编译参数里加上

-Wno-deprecated
【热门文章】
【热门文章】