Tag: detailsview

在使用plist和tableviw在detailview的webview中加载html文件时遇到问题

我有a1.html,a2.html,b1.html,b2.html作为应用程序内的本地资源。 我无法使用plist和tableview将这些html文件加载到detailview的webview中 PLIST topics.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>HN</key> <array> <dict> <key>Name</key> <string>Boston</string> <key>File</key> <string>a1</string> </dict> <dict> <key>Name</key> <string>Massachussets</string> <key>File</key> <string>a2</string> </dict> </array> <key>LEA</key> <array> <dict> <key>Name</key> <string>Birmingham</string> <key>File</key> <string>b1</string> </dict> <dict> <key>Name</key> <string>Alabama</string> <key>File</key> <string>b2</string> </dict> </array> 泰伯维 TopicsTableViewController.m #import "TopicsTableViewController.h" #import "TopicDisplayViewController.h" #define HNSection […]