iphone - No connections shown in new xib file -
i trying add new view working nav controller app. edited detailviewcontroller.h , detailviewcontroller.m files new view (shown below), created new detailviewcontroller.xib file, added web view. issue cannot link file owner webview. when control drag file owner webview, webview label not show up, seems xib not connected .h , .m
#import <uikit/uikit.h> @interface detailviewcontroller : uiviewcontroller { iboutlet uiwebview *webview; } @property(nonatomic,retain) uiwebview *webview; -(ibaction) goback:(id)sender; @end the top of .m #import "wwgt3appdelegate.h" #import "detailviewcontroller.h" #import "rootviewcontroller.h" @implementation detailviewcontroller @synthesize webview;
you have set class of file's owner detailviewcontroller, interface builder knows outlets available. in ib, in inspector window.
Comments
Post a Comment