uitableview - UITableViewController not displaying -


is there way add tableview portion of uitableviewcontroller uiview?

here i've got...

1) uiviewcontroller - mainviewcontroller

2) uiview - customuiview - added mainviewcontroller (this uiview replaced when new page loaded)

  • when button clicked of other pages in app loaded using (example)

    mainviewcontroller.customuiview = [[loginpage alloc] initwithframe:mainviewcontroller.view.bounds];

3) uitableviewcontroller - scoresnotificationspage - here issue, trying add tableview portion of uiview , have display on mainviewcontroller, if other uiview added.

  • when try loading tableview portion of uitableviewcontroller customuiview using:

    mainviewcontroller.customuiview = [[scoresnotificationspage alloc] initwithframe:mainviewcontroller.view.bounds];

i following error

incompatible pointer types assigning 'uiview *' 'scoresnotificationspage *'

any idea of tableview show up?

thank in advance.

whew...

make scoresnotificationspage child view controller , add it: [self.view addsubview:scorespage.tableview]?


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -