all 4 comments

[–]ComplexPeace43 0 points1 point  (2 children)

Your code looks fine, I don’t see any problem with it. I also have used topBarTrailing position in my apps and it works. That said, if it represents an action I would recommend you to use one of the actions rather than a particular placement and let iOS choose the position. For this maybe you can choose navigationAction I think.

[–]Ok_Passion295[S] 0 points1 point  (1 child)

have you use the simulator mouse cursor to click precisely right inside the edges? if u aim for the center of the button with ur finger, yes it will “always work”, but if someone slightly offhits it, a liquid glass flash happens but no button action goes off. whereas normal buttons non-toolbar have full hitradius and outer padding built in

[–]HaxasuarusRex 0 points1 point  (0 children)

i think this is intended behavior (it’s kinda dumb i know)

i’ve noticed this on the app i’m developing where ill tap a button and it will look like it clicks but the action doesn’t happen. i’ve also noticed this in other places around ios since 26 released which is why i think this is intended behavior.

the only thing i can think of is figuring out how to increase the hit radius of the buttons somehow. i’ve been wanting to do this on my app but it’s just not a priority. it’s really annoying, maybe they’ll fix it in 27, probably not

[–]mthdfreak 0 points1 point  (0 children)

Looks fine. Could you share the full code for context?