In iOS 27, of a UIViewController, how do I set the edge effect of a title?

Asked on 2026-09-21

1 search

In iOS 27, for a UIViewController, you don’t set the title’s edge effect directly on the view controller itself. Instead, the system applies the scroll edge effect automatically when your content scrolls under the navigation bar or other floating UI.

If you’re asking about the title area in a navigation bar, the relevant guidance from Build a UIKit app with the new design is:

  • let the content scroll underneath the navigation bar
  • use the system-provided scroll edge effect
  • avoid customizing the bar background in ways that interfere with the glass appearance

If you mean a custom title-like element floating over scroll content, you can use the scroll edge effect with a custom container by attaching the effect to the scroll view and the edge you want.

If you want, I can point you to the exact UIKit API pattern for:

  • a navigation bar title, or
  • a custom title view over a scroll view.