ios - How to make Background ViewControllers should be blur when open SWRevealViewController from any ViewController -


when open swrevealviewcontrtoller(side menu) viewcontroller(ex:homevc) @ time background viewcontroller(homevc) should blur or darken.

thanks got solution .

in home view controller make these changes.

-(void)initialsetup  {    self.revealviewcontroller.delegate = self;  } - (void)revealcontroller:(swrevealviewcontroller *)revealcontroller didmovetoposition:(frontviewposition)position  {     if (position == frontviewpositionright)       {        revealcontroller.frontviewcontroller.view.alpha = 0.5;      }    else     {       revealcontroller.frontviewcontroller.view.alpha = 1;     }  } 

Comments

Popular posts from this blog

Lists in Python -

android - can not access to progress bar in an other activity -

java - Vaadin 7 Pass Data Between Views -