【发布时间】:2016-08-21 13:18:47
【问题描述】:
我目前正在使用 Xamarin.iOS 并尝试从我的项目资源和项目目录中的目录中获取数据。但是我在获取信息时无法获取数据。我什至可以看到整个目录并没有复制到应用程序包本身中。
下面是我的代码。
string localHtmlUrl = Path.Combine(NSBundle.MainBundle.BundlePath,
string.Format("NewFolder/webref/index.html")
);
【问题讨论】:
-
这个运气好吗?您能在下面的屏幕截图中显示您的文件的位置吗?
标签: ios xamarin xamarin.ios xamarin.forms xamarin-studio