Skip to content

There is a difference of function from FDStackView to UIStackView. “- (void)insertArrangedSubview:(UIView *)view atIndex:(NSUInteger)stackIndex” / #30

Open
@yu0winter

Description

@yu0winter

In UIStackView :
/*
Adds the view as a subview of the container if it isn't already.
Updates the stack index (but not the subview index) of the
arranged subview if it's already in the arrangedSubviews list.
*/

  • (void)insertArrangedSubview:(UIView *)view atIndex:(NSUInteger)stackIndex;

But FDStackView can not update it.

So that I have to treate the function differently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions