BLOCK
#import <UIKit/UIKit.h>
typedef void (^BLOCK)(UIColor *);
@interface SecondViewController : UIViewController
@property(nonatomic,copy)BLOCK backColorBlcok;
@end
SecondViewController *secondVc = [[SecondViewController alloc] init];
secondVc.backColorBlcok = ^(UIColor *color){
self.view.backgroundColor = color;
};
[self.navigationController pushViewController:secondVc animated:YES];