I have around 5 UIViews
in my .xib, inially i am showing only 1 view(view1)
which has some labels
and button
, when i click on button i prompt a systems alertView
for granting permission from the setting of the phone and once i get the permission, i am hiding view1
and showing other 4 views
using setHidden
method, but the view
is not refreshing and not showing other 4 views
.
-(void) gotPermission
{
[self->_View2 setHidden:NO];
[self->_View3 setHidden:NO];
[self->_View4 setHidden:NO];
[self->_View1 setHidden:YES];
}