Pravesh Dubey
What is difference between Bounds and Frame
By Pravesh Dubey in Swift on Nov 01 2019
  • Dipa Mehta
    Nov, 2019 5

    Frame: a view’s location and size using parent’s view coordinate system. Bounds: a view’s location and size using it’s own coordinate system.

    • 1
  • Dipa Mehta
    Nov, 2019 2

    The bounds refers to its coordinates relative to its own space (as if the rest of your view hierarchy didn’t exist), whereas its frame refers to its coordinates relative to its parent’s space.

    • 1

Most Popular Job Functions

MOST LIKED QUESTIONS