Skip to content

showAtCenterPoint not useful #31

@tukzi

Description

@tukzi

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions