1
我想實施-tableView:heightForRowAtIndexPath:
,但僅適用於iOS 7及更低版本。僅在iOS 8和更高版本中實現方法
什麼是適當的編譯時指令使用,以便我的tableViews不會調用此方法,如果應用程序在iOS8上運行?
我想實施-tableView:heightForRowAtIndexPath:
,但僅適用於iOS 7及更低版本。僅在iOS 8和更高版本中實現方法
什麼是適當的編譯時指令使用,以便我的tableViews不會調用此方法,如果應用程序在iOS8上運行?
你試過了嗎?
#ifdef __IPHONE_8_0
#else
#endif