Sorry about the novice question, but in this simple iOS tutorial I could not figure out where in the project (in Info.plist or somewhere else) is stated that the file HelloThere_Prefix.pch relates to the other files. I understand that it links to some libraries, but could not understand how it is referenced by the other files. I only see the .m files referencing their respective .h files and nothing else. Can anyone explain it to me?

有帮助吗?

解决方案

In the project build settings there is a setting titled "Prefix Header" which specifies the path to your .pch file. You can use whatever name you want as long as it matches this setting.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top