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

How to increase the uitableview height? #90

Open
veerreef opened this issue Jun 27, 2013 · 2 comments
Open

How to increase the uitableview height? #90

veerreef opened this issue Jun 27, 2013 · 2 comments

Comments

@veerreef
Copy link

How to increase the uitableview height?

@avelis
Copy link

avelis commented Jul 24, 2013

If you look at the source it uses an autoresized height mask. It sizes it's height dynamically with all other components within the view.

@ignus001
Copy link

I have a code that changes height depending on iOS screen height. Adjust the values as you see fit.
I did this KalViewController.m's -(void)loadView method:

int width = [[UIScreen mainScreen] applicationFrame].size.width;
int height;

if(([[UIScreen mainScreen] bounds].size.height == 568)){
    height = [[UIScreen mainScreen] applicationFrame].size.height-  210;
}else{
    height = [[UIScreen mainScreen] applicationFrame].size.height-  123;
}

KalView *kalView = [[KalView alloc] initWithFrame:CGRectMake(0, 0, width, height) delegate:self logic:logic];

Worked for me, hope it'll work for you too. Cheers

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

3 participants