layoutIfNeeded is a synchronous call that will let the system update the views and force the layout engine to redraw the views. setNeedsLayout is a deferred call and asynchronous call that will mark the layout has changed but it will call layoutSubViews() in the next cycle. Both layoutIfNeeded and setNeedsLayout call layoutSubViews()
-
Notifications
You must be signed in to change notification settings - Fork 0
sabapathy7/LayoutSubViewsExample
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Swift Application for UIKit - LayoutSubViews
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published