Fix the bug.  del viewcontroller . when viewcontroler count == 0 ,cannot run didChangeCurrentPageDelegate.