u/Le_Chicotbabet

Hi everyone! Now that iOS 26 is the standard, I’m trying to nail the specific "Liquid Glass" look for a custom project. I’m focusing on the floating navigation dock and the timeline slider seen in the native Photos app.

I have two main challenges I’m hoping the community can help with:

  1. Refractive Depth: In Screenshot 2026-04-27 at 06.22.22.png, you can see the way the background content distorts slightly behind the pill. I'm using the new .tabViewBottomAccessory with .glassBackgroundEffect(), but it doesn't quite capture that "optical lens" feel. Does anyone have the right refractionIndex parameters?
  2. The Dock Transition: When switching views as shown in Screenshot 2026-04-27 at 21.36.27.png, the dock expands and contracts with a very specific elastic curve. I’m trying to use the Spring.smooth(duration: 0.5) preset, but it feels a bit "stiff" compared to the system animation.
  3. Adaptive Haptics: How are you guys linking the sensoryFeedback to the new LiquidSlider component to get that "magnetic" click when the thumb snaps to "Years" or "Months"?

I’ve attached my current screenshots for reference. If anyone has managed to deconstruct the exact layer.compositingFilterApple is using for the inner glow, I’d be forever grateful!

Thanks!

https://preview.redd.it/txjti2ck43yg1.png?width=1206&format=png&auto=webp&s=229850b6bce80d74135f78b0892e5a37e1e203e8

https://preview.redd.it/uulc02ck43yg1.png?width=1206&format=png&auto=webp&s=6d3d9c952aeb1a45b7132453aa973c65035f8d0c

reddit.com
u/Le_Chicotbabet — 15 days ago