iphone - iOS add view on button click -


i have added 2 views in .xib file. both declareted in .h file.

i added button. want active second view, on button click.

i created action

-(ibaction) selectberufview    {     [self addsubview: berufview]; } 

but returns error

the .h file contains

iboutlet uiview *berufview; 

[self.view addsubview: berufview]; 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -