diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f31d316c79fa..e948f637fe7a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ This is the log of notable changes to the Expo client that are developer-facing. - Fixed `MediaLibrary.getMomentsAsync` crashing if `locationNames` array is null. ([#5937](https://github.com/expo/expo/pull/5937) by [@lukmccall](https://github.com/lukmccall)) - Fixed `MediaLibrary.getAlbumsAsync()` not getting albums in folders on iOS. ([#5857](https://github.com/expo/expo/pull/5857) by [@lukmccall](https://github.com/lukmccall)) - Fixed unclosed http connections in `FileSystem.downloadAsync` method. ([#5840](https://github.com/expo/expo/pull/5840) by [@bbarthec](https://github.com/bbarthec)) +- Fixed `ImagePicker` ignoring orientation of the application. ([#5946](https://github.com/expo/expo/pull/5946) by [@lukmccall](https://github.com/lukmccall)) - Fixed cropping tool in `ImagePicker`, which was not moving on iOS. ([#5965](https://github.com/expo/expo/pull/5965) by [@lukmccall](https://github.com/lukmccall)) ## 35.0.0 diff --git a/packages/expo-image-picker/ios/EXImagePicker/EXImagePicker.m b/packages/expo-image-picker/ios/EXImagePicker/EXImagePicker.m index 862dabad4b4d2..78dba9801adf0 100644 --- a/packages/expo-image-picker/ios/EXImagePicker/EXImagePicker.m +++ b/packages/expo-image-picker/ios/EXImagePicker/EXImagePicker.m @@ -121,7 +121,7 @@ - (void)launchImagePicker:(EXImagePickerTarget)target if ([[self.options objectForKey:@"allowsEditing"] boolValue]) { self.picker.allowsEditing = true; } - self.picker.modalPresentationStyle = UIModalPresentationOverFullScreen; // only fullscreen styles work well with modals + self.picker.modalPresentationStyle = UIModalPresentationOverCurrentContext; self.picker.delegate = self; [self maybePreserveVisibilityAndHideStatusBar:[[self.options objectForKey:@"allowsEditing"] boolValue]];