我有两个视图,第一个是日历,第二个是UIView,有tableView
; 我想从firstView中显示选定的日期。管理得到我的secondView的ViewDidLoad
方法中的选定日期。从另一个ViewController获取NSDate到titleForHeaderInSection
如何将我的NSDate
添加到我的- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
方法中?
我认为你需要在nextview中创建变量并将其设置为表视图的标题。 –