This repository was archived by the owner on Jun 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -599,11 +599,11 @@ - (UILabel *)defaultEmptyView
599599
600600- (void )addEmptyViewControllerToView
601601{
602- if (self.emptyViewController .view .superview == nil ) {
602+ if (self.emptyViewController && self. emptyViewController .view .superview == nil ) {
603603 [self .collectionView addSubview: self .emptyViewController.view];
604- _emptyViewController .view .frame = self.collectionView .frame ;
605- [self addChildViewController: _emptyViewController ];
606- [_emptyViewController didMoveToParentViewController: self ];
604+ self. emptyViewController .view .frame = self.collectionView .frame ;
605+ [self addChildViewController: self .emptyViewController ];
606+ [self .emptyViewController didMoveToParentViewController: self ];
607607 [self centerEmptyView ];
608608 }
609609}
Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "WPMediaPicker"
3- s . version = "1.2 "
3+ s . version = "1.3 "
44 s . summary = "WPMediaPicker is an iOS controller that allows capture and picking of media assets."
55 s . description = <<-DESC
66 WPMediaPicker is an iOS controller that allows capture and picking of media assets.
You can’t perform that action at this time.
0 commit comments