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

UIToolbar example #21

Closed
dzenbot opened this issue Nov 25, 2013 · 3 comments
Closed

UIToolbar example #21

dzenbot opened this issue Nov 25, 2013 · 3 comments

Comments

@dzenbot
Copy link

dzenbot commented Nov 25, 2013

I've been testing PHFComposeBarView inside of a UIToolbar, but it doesn't seem to work on iOS7. Has anybody managed to resize the height of the UIToolBar when embedded inside of a UINavigationController?

@fphilipe
Copy link
Owner

PHFComposeBarView uses a UIToolbar to achieve the blur. I noticed that the UIToolbar does not autoresize. That's why I resize it "by hand" in - (void)layoutSubviews.

May I ask why you're placing it in a UIToolbar? Alternatively, resize the UIToolbar as I do.

@dzenbot
Copy link
Author

dzenbot commented Nov 27, 2013

I realise that you are using a UIToolbar for the blur effect.
I'm currently using a UITableViewController, pushed inside of a UINavigationController, and then using the navigation controller's toolbar on the bottom. This helps to resize automatically the tableview and inherit good UI behaviours from UIKit.

image

That's why I'm using PHFComposeBarView inside of a toolbar. I'll try to resize "by hand" too, and see what's up with that. If I manage to accomplish it, should I build a simple example?

@fphilipe
Copy link
Owner

Did it work? Closing this due to inactivity.

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