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

OAStackView arrangedSubviews always return 0 #41

Closed
chika-kasymov opened this issue Aug 21, 2015 · 1 comment
Closed

OAStackView arrangedSubviews always return 0 #41

chika-kasymov opened this issue Aug 21, 2015 · 1 comment

Comments

@chika-kasymov
Copy link

Hi!

OAStackView array arrangedSubviews is always empty. Therefore when I try to insertArrangedSubview: atIndex: the app crashes. I can add view only by using addArrangedSubview.

@mthole-old
Copy link

FWIW, #17 will hopefully fix this issue.

As a workaround, you may be able to inspect the stack view's subviews property to decide which index to insert at. No guarantees on that, though -- I've not tried personally.

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