Skip to content

NavigationPage TitleView iOS 26 #32200

@AlleSchonWeg

Description

@AlleSchonWeg

Description

Hi,
in the latest .Net 9 SR 12 are compatibility changes for iOS 26. #31831
Also @kubaflo changed the margin behaviour #31701.

The changes from kubaflo are not working with iOS 26. I added this simple title view:

<NavigationPage.TitleView>
   <HorizontalStackLayout BackgroundColor="Blue" HorizontalOptions="Fill" VerticalOptions="Fill" Margin="-20,0,0,0">
	  <Label Text="1234567890abcdefghij"/>
   </HorizontalStackLayout>
</NavigationPage.TitleView>

Here is the result for iOS 18.6 and iOS 26

Image

As you see iOS 26 is not filled the content on all 4 sides. Also if you rotate the simulator the result is different (I would expect the iOS 18 result):

Image

In mentioned PR the left margin is set to -20. What I have to set if I want no margin at any side? As you see in the first screenshot the label is not completely visible.

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.110 SR12

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

Labels

area-controls-titleviewTitleViewp/0Current heighest priority issues that we are targeting for a release.platform/ioss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingversion/iOS-26

Type

No type

Projects

Status

In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions