File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed
packages/share_plus/share_plus
ios/share_plus/Sources/share_plus Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 2121 <key >CFBundleVersion </key >
2222 <string >1.0 </string >
2323 <key >MinimumOSVersion </key >
24- <string >12 .0 </string >
24+ <string >13 .0 </string >
2525</dict >
2626</plist >
Original file line number Diff line number Diff line change 451451 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
452452 GCC_WARN_UNUSED_FUNCTION = YES;
453453 GCC_WARN_UNUSED_VARIABLE = YES;
454- IPHONEOS_DEPLOYMENT_TARGET = 12 .0;
454+ IPHONEOS_DEPLOYMENT_TARGET = 13 .0;
455455 MTL_ENABLE_DEBUG_INFO = NO;
456456 SDKROOT = iphoneos;
457457 SUPPORTED_PLATFORMS = iphoneos;
578578 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
579579 GCC_WARN_UNUSED_FUNCTION = YES;
580580 GCC_WARN_UNUSED_VARIABLE = YES;
581- IPHONEOS_DEPLOYMENT_TARGET = 12 .0;
581+ IPHONEOS_DEPLOYMENT_TARGET = 13 .0;
582582 MTL_ENABLE_DEBUG_INFO = YES;
583583 ONLY_ACTIVE_ARCH = YES;
584584 SDKROOT = iphoneos;
627627 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
628628 GCC_WARN_UNUSED_FUNCTION = YES;
629629 GCC_WARN_UNUSED_VARIABLE = YES;
630- IPHONEOS_DEPLOYMENT_TARGET = 12 .0;
630+ IPHONEOS_DEPLOYMENT_TARGET = 13 .0;
631631 MTL_ENABLE_DEBUG_INFO = NO;
632632 SDKROOT = iphoneos;
633633 SUPPORTED_PLATFORMS = iphoneos;
Original file line number Diff line number Diff line change 2626 buildConfiguration = " Debug"
2727 selectedDebuggerIdentifier = " Xcode.DebuggerFoundation.Debugger.LLDB"
2828 selectedLauncherIdentifier = " Xcode.DebuggerFoundation.Launcher.LLDB"
29+ customLLDBInitFile = " $(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2930 shouldUseLaunchSchemeArgsEnv = " YES" >
3031 <MacroExpansion >
3132 <BuildableReference
5455 buildConfiguration = " Debug"
5556 selectedDebuggerIdentifier = " Xcode.DebuggerFoundation.Debugger.LLDB"
5657 selectedLauncherIdentifier = " Xcode.DebuggerFoundation.Launcher.LLDB"
58+ customLLDBInitFile = " $(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
5759 launchStyle = " 0"
5860 useCustomWorkingDirectory = " NO"
5961 ignoresPersistentStateOnLaunch = " NO"
6062 debugDocumentVersioning = " YES"
6163 debugServiceExtension = " internal"
64+ enableGPUValidationMode = " 1"
6265 allowLocationSimulation = " YES" >
6366 <BuildableProductRunnable
6467 runnableDebuggingMode = " 0" >
Original file line number Diff line number Diff line change @@ -420,10 +420,14 @@ + (void)share:(NSArray *)shareItems
420420 BOOL isCoordinateSpaceOfSourceView =
421421 CGRectContainsRect (controller.view .frame , origin);
422422
423- // If device is e.g. an iPad then hasPopoverPresentationController is true
423+ // Check if this is actually an iPad
424+ BOOL isIpad = ([UIDevice currentDevice ].userInterfaceIdiom == UIUserInterfaceIdiomPad);
425+
426+ // Before Xcode 26 hasPopoverPresentationController is true for iPads and false for iPhones.
427+ // Since Xcode 26 is true both for iPads and iPhones, so additional check was added above.
424428 BOOL hasPopoverPresentationController =
425429 [activityViewController popoverPresentationController ] != NULL ;
426- if (hasPopoverPresentationController &&
430+ if (isIpad && hasPopoverPresentationController &&
427431 (!isCoordinateSpaceOfSourceView || CGRectIsEmpty (origin))) {
428432 NSString *sharePositionIssue = [NSString
429433 stringWithFormat:
You can’t perform that action at this time.
0 commit comments