Skip to content

Question regarding IOS11 #2

@yochyG

Description

@yochyG

I'm trying to use the plugin, I can't get the drawer icon to show and also the drawer doesn't extend all the way to the bottom of the screen.
Can you maybe guide me?
See code below.
Simulator Screen Shot - iPhone Xs - 2019-08-25 at 07 57 02
Simulator Screen Shot - iPhone Xs - 2019-08-25 at 08 00 45

`navbar.create();

        navbar.setupRightButton("", 'barButton:Refresh', function() {
            alert('test')
        });
        navbar.setupLeftButton("", 'barButton:Action', null);

        navbar.showRightButton();
        navbar.showLeftButton();
        navbar.settitle("My Dashboard");
        navbar.setBGhex("#3e8a47"); // NavBar BG Color (You can set it as 'transparent')
        navbar.setTitlehex("#000000"); // Title Color (will be deprecated, use setTitleAttr instead)
        navbar.setTitleAttr("#FFFFFF","Helvetica-Bold","16.0"); // If you want a custom font, you need to add it to xcode
        navbar.setButtonshex("#CCCCCC"); // Buttons Color
        navbar.show();

        var draweritems = [];
        draweritems.push(["Page1","index.html","icon.png", "im the badge"]);
        draweritems.push(["Page2","index2.html","", "no badge"]);
        draweritems.push(["Page3","index3.html","", null]);
        navbar.setupDrawer(draweritems, "#ffffff");`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions