๐Ÿ”ฐMatched Geometry Effect

SwiftUI โŸฉ Drawing โŸฉ Matched Geometry Effect โŸฉ

้กžไผผ Keynote ็š„ "Magic Move"

func matchedGeometryEffect<ID>(
    id: ID,                        // group id of views
    in namespace: Namespace.ID,    // avoid id collision
    properties: MatchedGeometryProperties = .frame, 
    anchor    : UnitPoint                 = .center, 
    isSource  : Bool                      = true
) -> some View 
    where ID : Hashable

Last updated