toptabbedpage-xamarin-forms icon indicating copy to clipboard operation
toptabbedpage-xamarin-forms copied to clipboard

Crashing/freezing on iOS 15 and greater (open issue from Xamarin)

Open alexmartinezm opened this issue 2 years ago • 1 comments

Open issue: [Bug] [iOS] Freezing/App Crash during Navigation - new in iOS 15

Workaround:

  • Download the package and add it to your solution
  • Modify the TopTabbedRenderer with the following lines
        protected override void Dispose(bool disposing)
        {
            // Avoid disposing on iOS 15 due to open issue on GitHub: https://github.com/xamarin/Xamarin.Forms/issues/14783
            if (UIDevice.CurrentDevice.CheckSystemVersion(15, 0))
                return;

            [...]
        }

alexmartinezm avatar Apr 01 '22 11:04 alexmartinezm

@alexmartinezm It'll be great if you create a PR :) .

tuyen-vuduc avatar Apr 02 '22 14:04 tuyen-vuduc