草庐IT

StoryBoard

全部标签

ios - 如果要使用主 Storyboard文件,应用程序委托(delegate)必须实现 window 属性

我正在以编程方式实现ListViewController。当我尝试运行该项目时,出现错误:2012-11-0722:46:34.719myTableViewControl[12021:c07]Theappdelegatemustimplementthewindowpropertyifitwantstouseamainstoryboardfile.2012-11-0722:46:34.722myTableViewControl[12021:c07]-[AppDelegatesetWindow:]:unrecognizedselectorsenttoinstance0x7674e70201

ios - 如果要使用主 Storyboard文件,应用程序委托(delegate)必须实现 window 属性

我正在以编程方式实现ListViewController。当我尝试运行该项目时,出现错误:2012-11-0722:46:34.719myTableViewControl[12021:c07]Theappdelegatemustimplementthewindowpropertyifitwantstouseamainstoryboardfile.2012-11-0722:46:34.722myTableViewControl[12021:c07]-[AppDelegatesetWindow:]:unrecognizedselectorsenttoinstance0x7674e70201

ios - 使用 Storyboard从 MasterDetail iPad 应用更改细节 View

我在这里有点迷路。我有一个基本的主从应用程序,我想根据MasterViewController中的选定行更改详细View,但是View有不同的内容,一个有一个图片库,另一个将全屏加载视频。它不只是刷新详细View,还必须加载另一个View。如何更好(快速)地做到这一点? 最佳答案 我会建议您使用replacesegue。只需使用样式:替换和目标:详细拆分,为您的行启动的所需View创建一个segue.Segues是在iOS5SDK中引入的编辑:这些是完成所需任务的分步说明。从现在开始:应该按下以执行操作的项目(主视图中的按钮或行)=

ios - 使用 Storyboard从 MasterDetail iPad 应用更改细节 View

我在这里有点迷路。我有一个基本的主从应用程序,我想根据MasterViewController中的选定行更改详细View,但是View有不同的内容,一个有一个图片库,另一个将全屏加载视频。它不只是刷新详细View,还必须加载另一个View。如何更好(快速)地做到这一点? 最佳答案 我会建议您使用replacesegue。只需使用样式:替换和目标:详细拆分,为您的行启动的所需View创建一个segue.Segues是在iOS5SDK中引入的编辑:这些是完成所需任务的分步说明。从现在开始:应该按下以执行操作的项目(主视图中的按钮或行)=

ios - Google Maps iOS SDK - 在 GMSMapView 上添加 UIView/UIButton

我正在使用带Storyboard的GoogleMapsiOSSDK开发一个iOS应用程序。在“viewDidLoad”中的主视图Controller上,我实现了一个GMSMapView并通过显示它self.view=mapView_;一切顺利。现在我想在map上添加一个UIView或UIButton,例如myLocation按钮样式。有什么解决方案可以添加它并通过Storyboard使用它吗?我已经通过代码在map上覆盖了对象,但我真的需要自动布局,所以通过Storyboard管理它会很好。谢谢。 最佳答案 试试这个(确保将mapV

ios - Google Maps iOS SDK - 在 GMSMapView 上添加 UIView/UIButton

我正在使用带Storyboard的GoogleMapsiOSSDK开发一个iOS应用程序。在“viewDidLoad”中的主视图Controller上,我实现了一个GMSMapView并通过显示它self.view=mapView_;一切顺利。现在我想在map上添加一个UIView或UIButton,例如myLocation按钮样式。有什么解决方案可以添加它并通过Storyboard使用它吗?我已经通过代码在map上覆盖了对象,但我真的需要自动布局,所以通过Storyboard管理它会很好。谢谢。 最佳答案 试试这个(确保将mapV

ios - 从模态视图 Controller 返回到 RootViewController

从主页View-我的RootViewController-随着用户在导航层次结构中的进步,我一个接一个地打开2个ViewControllers,如下所示:1)SecondViewController由我的Storyboard中连接的按钮按下2)ThirdViewController以模态呈现[selfperformSegueWithIdentifier:@"NextViewController"sender:nil];所以,图片是:RootViewController->SecondViewController->ThirdViewController现在在我的ThirdViewCon

ios - 从模态视图 Controller 返回到 RootViewController

从主页View-我的RootViewController-随着用户在导航层次结构中的进步,我一个接一个地打开2个ViewControllers,如下所示:1)SecondViewController由我的Storyboard中连接的按钮按下2)ThirdViewController以模态呈现[selfperformSegueWithIdentifier:@"NextViewController"sender:nil];所以,图片是:RootViewController->SecondViewController->ThirdViewController现在在我的ThirdViewCon

ios - 如何使用 Storyboard在另一个 Controller 中 subview UITableViewController

我已将所有TableView逻辑封装在链接到View的UITableViewController上。这是使用Storyboard完成的。我想将这个逻辑和View嵌入到另一个ViewController/View中(有点像下面有一个可滚动表格的标题信息。)我有以下组件:链接到UIView的CustomViewController(从Storyboard中拖入)链接到UITableView的CustomTableViewController(从Storyboard中拖入)本质上,我试图在iOS时钟应用程序中模仿秒表的场景解决这个问题的最佳方法是什么?它是如何以编程方式完成的?这能以某种方式

ios - 如何使用 Storyboard在另一个 Controller 中 subview UITableViewController

我已将所有TableView逻辑封装在链接到View的UITableViewController上。这是使用Storyboard完成的。我想将这个逻辑和View嵌入到另一个ViewController/View中(有点像下面有一个可滚动表格的标题信息。)我有以下组件:链接到UIView的CustomViewController(从Storyboard中拖入)链接到UITableView的CustomTableViewController(从Storyboard中拖入)本质上,我试图在iOS时钟应用程序中模仿秒表的场景解决这个问题的最佳方法是什么?它是如何以编程方式完成的?这能以某种方式