Filter
Exclude
Time range
-
Near
Replying to @ytiihyslqlabpow
好奇你是基于什么原理实现的纠错🤔 不过并没有什么好的办法能直接复用系统界面。我做落格输入法的时候,整个键盘界面是靠截图然后放大,一个像素一个像素扣的, 摆放一堆 uibutton,后来改用uicontrol 绘制,这样实测反而比直接在 uiview上画所有btn要快🤣 最后弄个uiview盖在上面统一做touch处理
1
3
336
UIButton has a private _menuProvider property which gets called each time the button attempts to present its menu. Handy for reusable components where the API client can vend their own UIMenu, or even just to present menus that are always up-to-date, regardless of state.
4
5
71
5,598
A public workaround is to use UIControl directly. Set showsMenuAsPrimaryAction and isContextMenuInteractionEnabled to true, then implement the right delegate methods. Looks like the new default behavior only applies to UIButton. 👉Example code: gist.github.com/vistar941/2d… (3/4)
3
1
26
1,965
Found an interesting UIKit rendering issue with a UIButton attached to UIMenu. The button’s appearance was still being managed manually with properties like layer.cornerRadius, tintColor, backgroundColor, and setImage.
1
2
65
Apr 8
Replying to @unixzii
わては昔UIButtonでやってた 同じことをしてる人いて驚き
20 Aug 2021
iOSのスイッチUIでBad Apple!!のPVを再現してみた
3
3
34
8,759
UIButtonもsetTitleとかで変えようとするしwwww 昭和世代かねキミは
4
611
UIButtonのtarget / action方式とかまさしくSmalltalkの精神だし(まだ使う) message forwardingとかrespondsToSelectorとかも影響受けている気がするよね
1
4
684
UIButtonのConfigurationを一生ちゃんと制御できない病にかかってるんだけど2026年になっても特効薬ができないん??
3
292
it reverted back at some point but it’s still around in UIButton.
2
3
394
15 Dec 2025
Replying to @jordanborth
This might be a mismatch between the implementation of UIKit’s prominent glass button configuration versus SwiftUI’s Button? SwiftUI.Button doesn’t actually use UIButton under the hood. UIButton definitely has the vibrant label effect applied- have tested this in my own app.
3
16
1,421
3
7
764
ガチャ時間 Season5(ブルーアーカイブ) (20:30から開始予定です) youtube.com/live/bJhdn50kxLU… @YouTubeより 私はアイドルマリーを引きます。そのために10連のUIButtonをタップし、紫封筒を登場させます。
4
4
2,973
Replying to @sleitnick
The IAS docs use a LocalScript also under StarterGui so the connection (to the cloned InputAction) is fresh after every character reset. You'll have to use ResetOnSpawn = false ScreenGui if you're writing code outside this paradigm and want the UIButton reference to be static.
2
512
If you don’t mind using Private API, set "showsMenuFromSource" to true via KVC on UIButton. 👈 false (default)  true 👉
19 Sep 2025
Hey @SebJVidal , was having a hard time recreating this effect in UIKit, when setting a menu and showsMenuAsPrimaryAction to a UIButton the button morphs into the menu, and I couldn't find any API to disable that. Can you help?
2
7
107
38,380
一些实验后的结论: iOS 26.1 RC 里,UIKit 里的 UIButton UIButton/Configuration/glass(),或者用 UIVisualEffectView UIGlassEffect,都是好的。所以这就解释了 Toolbar 上的 Menu 是正常的。 真不希望一个小小的按钮也得用 UIKit 重写....
这个东西从 iPadOS 26.1 Beta 1 坏到了 Beta 4。真不想管了....
19
4,187
15 Oct 2025
Replying to @DylanMcD8
Unfortunately there’s no way of doing this with UIButton. Photos is using a UIToolbar here which doesn’t use UIButtons but instead _UIButtonBarButton (which is a UIControl subclass). The animation is a result of calling setToolbarHidden(_:animated:). You’d have to roll your own button and animate a visual effect view’s effect and an image view’s blur radius.
1
43
2,157
15 Oct 2025
Anyone know how to get this show/hide effect on a Liquid Glass UIButton?
4
2
144
15,525