diff --git a/Pod/Classes/WPMediaPickerViewController.m b/Pod/Classes/WPMediaPickerViewController.m index 723ff2b..2a00ecc 100644 --- a/Pod/Classes/WPMediaPickerViewController.m +++ b/Pod/Classes/WPMediaPickerViewController.m @@ -1451,10 +1451,9 @@ - (void)centerEmptyView if ([self.searchBar.text isEqualToString:@""]) { emptyViewFrame.origin.y -= self.searchBar.frame.size.height/2; - } else { - emptyViewFrame.origin.y = self.searchBarTopConstraint.constant; } - + emptyViewFrame.size.height -= self.view.layoutMargins.bottom; + emptyViewFrame.size.height -= self.view.layoutMargins.top; _emptyViewController.view.frame = emptyViewFrame; } else { self.emptyView.center = self.collectionView.center; diff --git a/WPMediaPicker.podspec b/WPMediaPicker.podspec index bdb08df..f5ea40a 100644 --- a/WPMediaPicker.podspec +++ b/WPMediaPicker.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = 'WPMediaPicker' - s.version = '1.8.3' + s.version = '1.8.3-beta.1' s.summary = 'WPMediaPicker is an iOS controller that allows capture and picking of media assets.' s.description = <<-DESC