Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set content height / allow for Navigation Item #22

Open
josephmorrill opened this issue Jul 4, 2014 · 1 comment
Open

Set content height / allow for Navigation Item #22

josephmorrill opened this issue Jul 4, 2014 · 1 comment

Comments

@josephmorrill
Copy link

I'm trying to use this class in XCode 5 in Storyboard, and it work fine loading content and appearing. The only problem I'm having is that I can't seem to figure out how to adjust the height of the CollapseClick object so that it doesn't start at the top - it starts underneath the Navigation Item I have on the view controller. A negative setContentOffset sort of works, but then scrolling resets it so that it jumps back to the top.

@daviddelmonte
Copy link

My solution for the top Navigation item is as follows: In the sample, the main view is a Collapse Click class view. Add a second main view, and make the Collapse Click view smaller - i.e. not take up the whole screen.
screen shot 2014-07-04 at 07 10 16

My solution to setting the cell height, was to return a Nib for the CollapseClickCell, (referred to in the storyboard) where I can draw what I want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants