Skip to content

centerVertically returns an error #1198

@AdieOlami

Description

@AdieOlami

I am trying to center the UIView vertically which works before till I migrated my codes to swift 4.2. now it shows an error when I use this code

view.layout(searchState).left(10).right(10).centerVertically(offset: 150)

the error it show is

Value of type 'Layout' has no member 'centerVertically'

I do not no why I have this error

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions