Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Not working with my UIViewController subclass #61

Closed
kyco16 opened this issue Mar 19, 2015 · 4 comments
Closed

Not working with my UIViewController subclass #61

kyco16 opened this issue Mar 19, 2015 · 4 comments

Comments

@kyco16
Copy link

kyco16 commented Mar 19, 2015

self.shyNavBarManager.scrollView = self.tableView;
            UIView *eView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 100)];
[eView addSubview:self.calendarMenuView];
[eView addSubview:self.calendarContentView];
[self.shyNavBarManager setExtensionView:eView];

This is what I am working with. I have my tableview set up exactly as your scrollview in the demo. The delegate is setup in the storyboard as well. I have tried putting this in my viewDidLoad and viewDidAppear. The UITableView moves but the extension and navBar do not move at all. I am importing <TLYShyNavBar/TLYShyNavBarManager.h> in the header file so I can access the shyNavBarManager. Still nothing

@Mazyod
Copy link
Contributor

Mazyod commented Apr 4, 2015

@kyco16 Are you setting your table view delegate anywhere?

@kyco16
Copy link
Author

kyco16 commented Apr 4, 2015

@Mazyod it is set from within the storyboard. I am also using auto layout if that makes a difference

@Mazyod
Copy link
Contributor

Mazyod commented Apr 5, 2015

That's really strange. I would advise adding a bunch of break points and seeing what's actually being called and what isn't. The library is very modular, and only updates the navbar in a single location, so you might want to start there.

@Mazyod
Copy link
Contributor

Mazyod commented Oct 10, 2015

will close for now, but please let me know if you need help.

@Mazyod Mazyod closed this as completed Oct 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants