tapkulibrary icon indicating copy to clipboard operation
tapkulibrary copied to clipboard

Request: Day Calendar View for iPad

Open mbcoder17 opened this issue 10 years ago • 2 comments

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

Thanks!

mbcoder17 avatar Nov 18 '14 05:11 mbcoder17

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);

  2. 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

  3. In daysBackgroundView method _daysBackgroundView = [[UIView alloc] initWithFrame:CGRectMake(0, 0,CGRectGetWidth([UIScreen mainScreen].bounds), TOP_BAR_HEIGHT)];

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

paresh-navadiya avatar Apr 17 '15 13:04 paresh-navadiya

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

willsmillie avatar Mar 09 '16 04:03 willsmillie