Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The View is out of order #6

Open
allnash opened this issue Apr 20, 2015 · 0 comments
Open

The View is out of order #6

allnash opened this issue Apr 20, 2015 · 0 comments

Comments

@allnash
Copy link

allnash commented Apr 20, 2015

screen shot 2015-04-20 at 3 15 31 pm
// Initialize a Table View
CGFloat sc_width = self.view.frame.size.width;
CGFloat sc_height = self.view.frame.size.height;
firstTableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, sc_width * 0.7, sc_height * 0.3)];
firstTableView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
firstTableView.delegate = self;
firstTableView.dataSource = self;
firstTableView.layer.cornerRadius = 10;
firstTableView.layer.masksToBounds = YES;
firstTableView.center = CGPointMake(sc_width / 2, sc_height / 2);
[self.view addSubview:firstTableView];

And Try popping the menu, it should be above the table, but its below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant