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? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -