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

Request: Day Calendar View for iPad #300

Open
mbcoder17 opened this issue Nov 18, 2014 · 2 comments
Open

Request: Day Calendar View for iPad #300

mbcoder17 opened this issue Nov 18, 2014 · 2 comments

Comments

@mbcoder17
Copy link

Would it be possible to optimize the day calendar view to work on the iPad's larger screen size?

Thanks!

@paresh-navadiya
Copy link

For iPad weekday selection was not resizing , so make these changes as replace line and comment the necessary one:

  1. _stepupView method
    CGFloat wid = CGRectGetWidth([UIScreen mainScreen].bounds);
    //wid -= 8; //comment it
    NSInteger per = wid - (DAY_LABEL_WIDTH *7);
  1. In monthYearLabel method
    _monthYearLabel = [[UILabel alloc] initWithFrame:CGRectInset(CGRectMake(0, TOP_BAR_HEIGHT - 24 - 6, CGRectGetWidth([UIScreen mainScreen].bounds), 24), 40, 0)];
    //_monthYearLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth; //comment it
  1. In daysBackgroundView method
    _daysBackgroundView = [[UIView alloc] initWithFrame:CGRectMake(0, 0,CGRectGetWidth([UIScreen mainScreen].bounds), TOP_BAR_HEIGHT)];

  2. In daysScrollView method
    _daysScrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth([UIScreen mainScreen].bounds), CGRectGetMinY(self.monthYearLabel.frame))];

@willsmillie
Copy link

Hmm... It seems that the numbers don't change their location... img

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