ios - How do I trigger a segue to show a specific view, when not in a UIViewController? -



ios - How do I trigger a segue to show a specific view, when not in a UIViewController? -

in ios app, have socket server communicates online app; events occur online, , need modify view on connected handset. have 3-4 view controllers in app, 1 of "login". need example, able kick people login, of other views.

how, 'not uiviewcontroller' class, "show view" specific id programmatically?

thanks help.

you still should "show view" view controller class. question should - how notification happened outside?

and reply utilize ios nsnotificationcenter , nsnotification classes broadcast within application. see apple reference nsnotificationcenter:

https://developer.apple.com/library/mac/documentation/cocoa/reference/foundation/classes/nsnotificationcenter_class/

ios objective-c

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -