1

I have a custom calendar view in my self.view and a UITableView on the bottom. When the calendar days exceed XXX amount, it covers the UITableView. Is there a way I can attach the UITableView to the bottom of the custom calendar view?

This is the code generating my Custom Calendar View in my viewDidLoad method.

calendar = [[VRGCalendarView alloc] init];
calendar.delegate=self;
[self.view bringSubviewToFront:calendar];
[self.view addSubview:calendar];
SamGabbay
  • 21
  • 2

2 Answers2

1

I solved this problem by adding a custom class method in my CalendarView.m...

[self.delegate calendarView:self didchangedHeight:self.frameHeight];
SamGabbay
  • 21
  • 2
0

See this answer, I think it can help better than my original posts: https://stackoverflow.com/a/7784987/295212

Community
  • 1
  • 1
Jay
  • 97
  • 1
  • 2
  • 12