iPhone UITableView with a header area

前端 未结 8 915
礼貌的吻别
礼貌的吻别 2020-12-23 20:26

I have a view that was created with all of the default UITableView stuff, but now I need to add a header area above where the UITableView is (so th

8条回答
  •  时光说笑
    2020-12-23 20:39

    Found a solution at iphonedevsdk

    Instead of doing this:

    [tableViewController.view addSubview:viewSubclass];
    

    do this

    [tableViewController.navigationController.view addSubview:viewSubclass];
    

提交回复
热议问题