Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以从扩展中获取容器应用程序NSBundle?至于这个答案,可以通过从扩展中的主包的 URL 中“剥离”两个目录级别来获取容器应用程序包。正如受访者所注意到的,如果目录结构发生变化,这种方法就会失效。有没有更强大的方法来做到这一点?
NSBundle