开发者

unable to click on button

开发者 https://www.devze.com 2023-01-10 17:47 出处:网络
am creating login application for both orientation, Fir开发者_如何学编程st loginController works fine for both orientation, but next view i.e. updateController creates problem.

am creating login application for both orientation,

Fir开发者_如何学编程st loginController works fine for both orientation, but next view i.e. updateController creates problem.

I created two views for updateController as LandscapeView and PortraitView.

In IB i link 'PortraitView' to File's Owner 'view', so that it's work fine but when my orientation is changed to 'LandscapeView' then it's loaded fine but can't click buttons on it.

Why does it happens?


Your IBAction methods you invoke with clicking a button most likely is connected with the Interface Builder in one view but not in the other

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号