ios - Visual Studio for mac iOS Storyboard无法正常工作

标签 ios visual-studio xamarin storyboard xamarin-studio

我正在为我的 Xamarin 项目使用 Visual Studio for mac。而且我正在使用 Xamarin Studio,因为有一些错误。

我尝试编辑 iOS 包的 Launchscreen.storyboard 文件,但没有成功。它说“设计器无法初始化。”。和 Error messages are too long... ;-;

所以我在 Xcode 上编辑了它。我添加了背景颜色和应用程序的 Logo ,但是在构建它之后, Logo 没有出现。

最佳答案

Visual Studio for Mac 中编辑 Storyboard并不是唯一的方法。 VS for Mac 仍处于预览阶段。

您可以同时使用 Xamarin Studio 和 VS for Mac。因此,您可以在 XS 而不是 VS for Mac 中编辑 Storyboard。

或者(这是我个人的偏好)您可以在解决方案资源管理器中使用 Storyboard 文件上的上下文菜单并选择打开方式 -> XCode 在 XCode 中编辑 Storyboard .

这是 Xamarin Studio 的一个插件,用于在 XCode 中默认打开 Storyboard:https://github.com/colbylwilliams/DefaultDesigner

有一个视频展示了如何将 XCode 与 Xamarin 一起使用(从 14:34 开始)

关于ios - Visual Studio for mac iOS Storyboard无法正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43131132/

相关文章:

ios - iTunes Connect 媒体管理器 - 应用程序预览未缩小

iphone - 仅当我从服务器收到所有数据时如何显示 UIView

ios - 未计算文件的 React-Native Bundle Error 错误 SHA-1

使用 LINK : fatal error LNK1104: cannot open file 'kernel32.lib' with VC 2017 进行 Python pip 安装

c# - HttpClient 似乎忽略了 Timeout 属性

c# - 在 Xamarin 应用程序中将项目添加到 Android 上的 ListView

ios - 在 iOS 中将错误代码转换为文本

visual-studio - 让 VS 2012 成为 .cs、.config 等文件的默认 exe

c# - 无法构建带有 project.json 的 .NET 项目

xamarin - MasterDetailPage : Accepting something other than a Page