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.
有没有办法检索我在 Plist 中的 url 并从中制作 webview?
是的,您可以使用以下方式打开 plist:
NSString *path = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"your.plist"]; NSDictionary *plistDictionary = [[NSDictionary dictionaryWithContentsOfFile:path] retain];
然后,您将能够在plistDictionary.
plistDictionary