ios - IBDesignable not displaying programmatic UI elements -


i created custom viewcontroller class, viewcontrollerroothomecenter inheriting uiviewcontroller, , checked box create accompanying xib file. set file's owner custom class attribute viewcontrollerroothomecenter. created couple of ui elements in viewdidload method see if loading on device, , simulator, in fact displaying on screen. in viewcontrollerroothomecenter.h file set ib_designable above @interface viewcontrollerroothomecenter statement. xib displaying white screen no ui elements in it.

empty xib

try -> paste drawing ui elements code in (void)prepareforinterfacebuilder{ } method (self calling method live rendering purpose)


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -