在表格视图中添加多个水平按钮(add multiple horizontal buttons to table view)

编程入门 行业动态 更新时间:2024-10-26 13:35:45
在表格视图中添加多个水平按钮(add multiple horizontal buttons to table view)

我尝试了很多东西 - 从对象浏览器添加一个按钮,更改属性,搜索网络,但没有运气。 基本上,我想做 - 在故事板 - :

您可以在其中看到“添加到联系人”“共享位置”和“添加到书签”。

I've tried a bunch of stuff - adding a button from the object browser, changing attributes, searching the web, but no luck. Essentially, I'd like to do --in the storyboard--:

where you see "add to contacts" "share location" and "add to bookmarks".

最满意答案

将三个按钮放在一个宽320像素,高60英尺的UIView中,然后将该视图作为表格的页脚。

Put the three buttons in a UIView that is 320 pixels wide and say 60 hight, and make that view the footer of your table.

更多推荐

本文发布于:2023-08-03 01:04:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1382508.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   视图   表格   按钮   水平

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!