4 Replies
      Latest reply on Mar 15, 2019 12:58 AM by Claude31
      Amaranh Level 1 Level 1 (0 points)

        Is now in design this...

        ___________________________________

        |                   view of viewController       |

        |                                                             |

        |   ______________________________    |

        |   |                    tableView                      |

        |   | ____________________________ |    |

        |   | _______________________yy___ |    |

        |   | _______________________yy___ |    |

        |   | _______________________yy___ |    |

        |                                                             |

        |                                                   XX    |

        |_________________________________|

        But in simulator it gives me only this...

        |   ______________________________    |

        |   |                    tableView                      |

        |   | ____________________________ |    |

        |   | _______________________yy___ |    |

        |   | _______________________yy___ |    |

        |   | _______________________yy___ |    |

        ___________________________________

        |   ______________________________    |

        |   |                    tableView                      |

        |   | ____________________________ |    |

        |   | _______________________yy___ |    |

        |   | _______________________yy___ |    |

        |   | _______________________yy___ |    |

         

        |   ______________________________    |

        |   |                    tableView                      |

        |   | ____________________________ |    |

        |   | _______________________yy___ |    |

        |   | _______________________yy___ |    |

        |   | _______________________yy___ |    |

        ___________________________________

        ___________________________________

        • Re: WelcomeTableViewCell
          Claude31 Level 8 Level 8 (5,565 points)

          Great you did some drawing, but could you explain ?

           

          I understand you have designed in IB:

          - a ViewController

          - embedded a tableView inside

           

          What are the 3 lines:

          |   | _______________________yy___ |    |

           

          Do they represent a prototype cell ?

          Or have you created 3 prototype cells ?

          Then, why the same content (yy all times)

           

          Then you add a xx (label, or button) at bottom, below the table.

          And xx does not show.

           

          Is that the situation ?

           

          If so, you should check in IB that you have:

          -  put the xx OUT of the tableView

          - defined a constraint for xx to set bottom space to safe are

          - defined a constraint for the tableview bottom for vertical spacing with xx: that will limit the height of tableView.

           

          I have tested this setup, it works.