Lnpopupcontroller: defaultFrameForBottomDockingView

Created on 31 Jul 2018  路  1Comment  路  Source: LeoNatan/LNPopupController

  • (UIView *)bottomDockingViewForPopupBar {
    return self.containerView;
    }

  • (CGRect)defaultFrameForBottomDockingView {
    CGRect bottomViewFrame = self.containerView.frame;

    if (self.containerView.hidden) {
    bottomViewFrame.origin = CGPointMake(bottomViewFrame.origin.x, self.view.bounds.size.height);
    } else {
    bottomViewFrame.origin = CGPointMake(0, self.view.bounds.size.height - bottomViewFrame.size.height);
    }

    return bottomViewFrame;
    }


It doesn't work

more info needed question

Most helpful comment

So do you want me to guess what doesn't work?
Please use proper English to describe your problem. Attach images to display what isn't working if necessary.

>All comments

So do you want me to guess what doesn't work?
Please use proper English to describe your problem. Attach images to display what isn't working if necessary.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

johnswifttt picture johnswifttt  路  6Comments

RajChanchal picture RajChanchal  路  3Comments

johnswifttt picture johnswifttt  路  5Comments

dancarasco picture dancarasco  路  6Comments

chauhan130 picture chauhan130  路  8Comments