Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.
This repository was archived by the owner on May 28, 2024. It is now read-only.

show in center of parent view #12

@uranpro

Description

@uranpro
  • (void)show {
    UIView *sv = [self.view superview];
    self.view.center = CGPointMake(self.view.center.x, sv.bounds.origin.y + sv.bounds.size.height / 2);

    [__view show];
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions