iphone - view controller not working? -
i'm newbie in iphone development, i'm studying, searching , learning things x-code , objective-c. started project have questions do.
i've started project tabbarcontroller app
. it's link catalogue, bottom tabbar acting menu, 4 tabs. first tab must have view scroll of images side side , zoom.
i searched around , found jmdiap
sample. i've started sample alone , works nicely. it's need. have put inside project.
so copied classes. after, took subview first tab (named catalogo.xib
) , selected file's owner class (catalogocontroller
). xib, m , h files created xcode creation wizard, connections ok. selected catalogo
nib use in first tab.
my trouble nothing happened. when try put code in loadview
or viewdidload
like:
self.view.backgroundcolor = [uicolor greencolor];
to see class working, nothing happens too.
can me please?
it sounds view didn't connected. check see if connected view object in xib window actual view (in interface builder). i've forgotten before , can super frustrating.
Comments
Post a Comment