簡體   English   中英

iOS-將UIView添加到UISegmentedControl中的特定段?(使用Interface Builder?)

[英]iOS - Add a UIView to a specific segment in a UISegmentedControl?(using Interface Builder?)

我想在UISegmentedControl的某個段中添加一些標志功能並添加一些約束,但是在Xcode ,似乎似乎無法與Interface BuilderUISegmentedControl中的各個段一起使用。 我是否缺少某些東西或這是否不可能(您必須在代碼中進行所有設置?)

同樣,如果無法訪問IB的各個段,則需要進行更改。

試試這個: https//github.com/dave-thompson/MESegmentedControl

這是SegmentedControl的子類,可以輕松地將徽標添加到細分控件。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM