Skip to content

Show View Controllers instead of Colors #32

Description

@mogsten

How can I set this to show my view controllers instead of showing the UIColors

I was thinking that I would be able to do it in the views NSArray

NSArray *titles = @[[[UIImageView alloc] initWithImage:img1], [[UIImageView alloc] initWithImage:img2], [[UIImageView alloc] initWithImage:img3]];
NSArray *views = @[[self viewWithBackground:orange], [self viewWithBackground:[UIColor yellowColor]], [self viewWithBackground:gray]];

SLPagingViewController *pageViewController = [[SLPagingViewController alloc] initWithNavBarItems:titles
                                                                                navBarBackground:[UIColor whiteColor]
                                                                                           views:views
                                                                                 showPageControl:NO];

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