MJPopupViewController
MJPopupViewController copied to clipboard
About viewDidAppear method
When popup with a UIViewContrller,viewDidAppear can be executed twice.When I see the sourcecode like this
[UIView animateWithDuration:kPopupModalAnimationDuration animations:^{ [self.mj_popupViewController viewWillAppear:NO]; self.mj_popupBackgroundView.alpha = 0.5f; popupView.alpha = 1.0f; } completion:^(BOOL finished) { [self.mj_popupViewController viewDidAppear:NO]; }];
why in completion "[self.mj_popupViewController viewDidAppear:NO];" can be call
I noticed this too that viewDidAppear is called twice. Any rectification lately?