nsnotificationcenter - Post Notification doesn't work on Poptorootviewcontroller in iOS -


i'm implementing more options menu(like android 3 dots more option) using post notification in viewcontroller.

in other view controllers, i'm having homebutton , more option button in top of pages.

by using post notification, can display more option view other view controllers. more option button works in other view controllers, after navigate page.

but after go homepage using homebutton other view controllers , tapping more options button won't work. after that, more option in other view controllers won't work.

i've added following code homebutton action.

    [self.navigationcontroller poptorootviewcontrolleranimated:no]; 

i hope error in homebutton action.

fyi: i've created view more option. added table view view. when user clicks more option button, i'm showing view. when user clicks 1 of menu in more option, i'll hide view. i've hide view in viewdidload.

any appreciated.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -