UIButton title changes to default

后端 未结 2 816
半阙折子戏
半阙折子戏 2021-01-07 16:22

I feel like this is probably a stupid question... but anyway I have this kind of weird UIButton title behavior.

The button is set up and connected to bo

2条回答
  •  执念已碎
    2021-01-07 16:44

    The swift version of this is

    startButton.setTitle("Start", forState: UIControlState.Normal)
    

提交回复
热议问题