廢話不多說(shuō)直接代碼 prefix header 的寫(xiě)法 我創(chuàng)建的pch文件就是:Header.pch(有其他名字自行修改) $(SRCROOT)/$(PRODUCT_NAME)/Header.pch 改天再截圖