iOS Question Bar Buttons similar to SideMenuController

Discussion in 'iOS Questions' started by Brian Robinson, Mar 8, 2015.

  1. Brian Robinson

    Brian Robinson Active Member Licensed User

    I use the createbarbuttons function call on the SideMenuController to create a button that look like three bars.

    This works fine, but I wanted to add these to the layout in the designer, but could not find the same option when choosing button type. Am I missing something?

    I have found a work around by adding them in code whenever I load a layout but was hoping for a neater solution.

  2. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

  3. Erel

    Erel Administrator Staff Member Licensed User

    You will need to add the "side menu buttons" with code after you load the layout.

    (Remember that the designer adds a flexible space button between each two buttons)
  4. Brian Robinson

    Brian Robinson Active Member Licensed User

    Hi, omidaghakhani1368 - Thanks for the answer, but that list does not have an option for the "Bar" buttons which you can get with the side menu by calling CreateBarButtons on the SideMenuContoller object.

    Erel, thanks again for your quick answer. Yes that is the way I am approaching it.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice