且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

UIPickerView前台

更新时间:2023-02-02 13:16:23

您可以使用 .view bringSubviewToFront:pickerview]; ,它会带来选择器视图上面的按钮,或者你可以进入 .xib 文件或 storyboard ,并确保选择器视图是视图中添加的最后一个项目。

You can bring the picker view above using [self.view bringSubviewToFront:pickerview]; and it will bring the picker view above the buttons, or you can go in the .xib file or storyboard and make sure the picker view is the last item added in the view.