FFPopup
FFPopup copied to clipboard
showAtCenterPoint not useful
UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0, 200, 500, 500)]; view.backgroundColor = [UIColor redColor]; [self.view addSubview:view];
UIView *v = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 20, 30)];
v.backgroundColor = [UIColor blackColor];
FFPopup *pop = [FFPopup popupWithContentView:v];
[pop showAtCenterPoint:CGPointMake(100, 20) inView:view];
When used this way, a black view will not appear correctly on red