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
Post a Comment