A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
Hi @Dave Stone ,
Thanks for reaching out, and thanks for coming back to share what you found.
What you were seeing on iOS isn’t a random rendering glitch. It’s a Shell-specific UI artifact.
When you set a BackgroundColor on the Shell, iOS renders a native container view behind the content (think navigation/tab infrastructure). On iOS, that container includes a very thin separator / edge line between the Shell chrome and the page content. Because of how iOS blends colors, that line often appears as a slightly darker shade of whatever background color you chose which is why it looked like a darker pink and changed color with different themes.
By setting:
<Shell BackgroundColor="Transparent">
you’re essentially telling MAUI:
“Don’t paint the Shell’s background at all, let the page handle it.”
Once the Shell background is transparent, the ContentPage’s BackgroundColor becomes the only visible background, and the iOS container no longer draws that separator line.
A good rule of thumb going forward:
- Use
Shell.BackgroundColoronly when you want to style the Shell chrome itself - Use
ContentPage.BackgroundColorfor full-screen page visuals - If you want a seamless layout on iOS, keeping the Shell background Transparent is often the safest option
Hope this helps! If my explanation was helpful - kindly follow the instructions here so others with the same problem can benefit as well.