Skip to content

OnBackButtonPressed is called on iPad with iOS 18.4.1 #132

@Uridel

Description

@Uridel

Type of issue

Outdated article

Description

It is Remarked that this function is never called on iOS

This only works on Android and UWP for the hardware back button. On iOS, this method will never be called because there is no hardware back button.

However as I am currently investigating a bug , I noticed that on an iPad with iOS 18.4.1 I am able to trigger the OnBackButtonPressed. I have double checked there are no other ways this is being tiggered it is the OS of apple that is the cause.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/microsoft.maui.controls.page.onbackbuttonpressed?view=net-maui-9.0

Content source URL

https://github.com/dotnet/dotnet-maui-api-docs/blob/live/docs/xml/Microsoft.Maui.Controls/Page.xml

Document Version Independent Id

c1deb07b-9b8b-7ee0-9e1b-6a8315539428

Platform Id

cadcbbf1-78f8-8161-2e27-e508f615bee0

Article author

@dotnet-bot

Metadata

  • ID: c1deb07b-9b8b-7ee0-9e1b-6a8315539428
  • PlatformId: cadcbbf1-78f8-8161-2e27-e508f615bee0
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions