Skip to content

Commit fae3ede

Browse files
authored
Update readme with correct method name (bottomDockingViewForPopupBar instead of bottomDockingViewForPopup)
1 parent 1862667 commit fae3ede

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ If the popup is open when dismissing the popup bar, the popup content will also
111111

112112
###Popup Container View Controllers
113113

114-
Any `UIViewController` subclasses can be popup container view controllers. The popup bar is attached to a bottom docking view. By default, `UITabBarController` and `UINavigationController` subclasses return their bottom bars as docking view, while other controllers return a hidden 0pt height view on the bottom of the view. In your subclass, override `bottomDockingViewForPopup` and `defaultFrameForBottomDockingView` and return your view and frame accordingly. **The returned view must be attached to the bottom of the view controller's view, or results are undefined.**
114+
Any `UIViewController` subclasses can be popup container view controllers. The popup bar is attached to a bottom docking view. By default, `UITabBarController` and `UINavigationController` subclasses return their bottom bars as docking view, while other controllers return a hidden 0pt height view on the bottom of the view. In your subclass, override `bottomDockingViewForPopupBar` and `defaultFrameForBottomDockingView` and return your view and frame accordingly. **The returned view must be attached to the bottom of the view controller's view, or results are undefined.**
115115

116116
```objective-c
117-
- (nonnull UIView *)bottomDockingViewForPopup
117+
- (nonnull UIView *)bottomDockingViewForPopupBar
118118
{
119119
return self.myCoolBottomView;
120120
}

0 commit comments

Comments
 (0)