Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 06b47de

Browse files
authored
Merge pull request #1250 from xamarin/bug/gh-1247
Fixes #1247 Must set SourceRect in iOS 13
2 parents e7dc92a + 7574cb6 commit 06b47de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Xamarin.Essentials/Share/Share.ios.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static Task PlatformRequestAsync(ShareTextRequest request)
2929
{
3030
activityController.PopoverPresentationController.SourceView = vc.View;
3131

32-
if (request.PresentationSourceBounds != Rectangle.Empty)
32+
if (request.PresentationSourceBounds != Rectangle.Empty || Platform.HasOSVersion(13, 0))
3333
activityController.PopoverPresentationController.SourceRect = request.PresentationSourceBounds.ToPlatformRectangle();
3434
}
3535

0 commit comments

Comments
 (0)