[英]Can't get the xcode storyboard modal buttons to change screen
I've been following an ios tutorial where I'm required to create multiple view controllers with different screens and connect buttons with modals. 我一直在关注ios教程,在该教程中,需要创建具有不同屏幕的多个视图控制器,并使用模式连接按钮。 I've set up the buttons propertly and even set up the modal settings, but when I run the iphone simulator, nothing happens when i click the button.
我已经正确设置了按钮,甚至设置了模式设置,但是当我运行iphone模拟器时,单击按钮不会发生任何事情。 Is this a bug or am i doing something wrong?
这是一个错误还是我做错了什么?
Thanks!! 谢谢!!
its probably a problem with your storyboard connections 故事板连接可能有问题
My guess is it's the button's connections - either it's missing or its trying to link to a connection that isn't existing 我的猜测是按钮的连接-丢失或试图链接到不存在的连接
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.