In -popViewController, set topViewController.popupController to nil after transition begin
In -popViewController, set topViewController.popupController to nil after transition begin

Igor-Palaguta/STPopup,kevin0571/STPopup