1.使用终端打开:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers
2.找到UITableView.h类,并使用文本编辑器打开
3.复制@property (nonatomic) CGFloat sectionHeaderTopPadding; 到304行位置(rowHeight上方)
4.保存
5.在Xcode上看12.5的版本已经有sectionHeaderTopPadding定义了,已可以解决编译失败问题