Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

1 rad
8.1 KiB

  1. {"sections":[],"abstract":[{"type":"text","text":"Inherited from "},{"code":"View.onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/fueling\/imagepicker\/onlongpressgesture(minimumduration:maximumdistance:pressing:perform:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"onLongPressGesture","kind":"identifier"},{"text":"(","kind":"text"},{"text":"minimumDuration","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sd","text":"Double"},{"kind":"text","text":", "},{"text":"maximumDistance","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:14CoreFoundation7CGFloatV","kind":"typeIdentifier","text":"CGFloat"},{"kind":"text","text":", "},{"text":"pressing","kind":"externalParam"},{"text":": ((","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":")?, "},{"kind":"externalParam","text":"perform"},{"kind":"text","text":": () -> "},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI4ViewP","text":"View","kind":"typeIdentifier"}],"externalID":"s:7SwiftUI4ViewPAAE18onLongPressGesture15minimumDuration15maximumDistance8pressing7performQrSd_14CoreFoundation7CGFloatVySbcSgyyctF::SYNTHESIZED::s:7Fueling11ImagePickerV","modules":[{"relatedModules":["SwiftUICore"],"name":"Fueling"}],"roleHeading":"Instance Method","role":"symbol","extendedModule":"SwiftUICore","title":"onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)","symbolKind":"method","platforms":[{"deprecatedAt":"100000.0","introducedAt":"13.0","deprecated":false,"name":"iOS","renamed":"onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)","unavailable":false,"beta":false},{"unavailable":false,"introducedAt":"13.0","deprecated":false,"renamed":"onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)","beta":false,"name":"iPadOS","deprecatedAt":"100000.0"},{"deprecated":false,"deprecatedAt":"100000.0","renamed":"onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)","beta":false,"unavailable":false,"name":"Mac Catalyst","introducedAt":"13.0"},{"renamed":"onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)","name":"macOS","deprecatedAt":"100000.0","unavailable":false,"introducedAt":"10.15","beta":false,"deprecated":false},{"beta":false,"name":"watchOS","introducedAt":"6.0","deprecated":false,"deprecatedAt":"100000.0","unavailable":false,"renamed":"onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)"}]},"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker\/onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"attribute","text":"nonisolated"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"onLongPressGesture","kind":"identifier"},{"text":"(","kind":"text"},{"text":"minimumDuration","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sd","text":"Double"},{"text":" = 0.5, ","kind":"text"},{"text":"maximumDistance","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:14CoreFoundation7CGFloatV"},{"text":" = 10, ","kind":"text"},{"text":"pressing","kind":"externalParam"},{"text":": ((","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")? = nil, ","kind":"text"},{"text":"perform","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"action"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" () -> "},{"preciseIdentifier":"s:s4Voida","kind":"typeIdentifier","text":"Void"},{"kind":"text","text":") -> "},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI4ViewP","kind":"typeIdentifier","text":"View"},{"kind":"text","text":"\n"}],"languages":["swift"],"platforms":["iOS"]}]}],"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker\/View-Implementations"]]},"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/ImagePicker/View-Implementations":{"url":"\/documentation\/fueling\/imagepicker\/view-implementations","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker\/View-Implementations","kind":"article","role":"collectionGroup","type":"topic","abstract":[],"title":"View Implementations"},"doc://rpm.com.production.Scanner/documentation/Fueling":{"kind":"symbol","url":"\/documentation\/fueling","title":"Fueling","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","abstract":[{"type":"text","text":"The Scanner app is designed to facilitate secure and efficient fuel management operations, primarily focusing on user authentication, fuel data collection, and network communication. The app includes several key features to ensure seamless and reliable interactions between users and the backend systems, leveraging technologies like WebSockets, Core Data, and biometric authentication."}],"type":"topic","role":"collection"},"doc://rpm.com.production.Scanner/documentation/Fueling/ImagePicker/onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)":{"deprecated":true,"abstract":[],"role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker\/onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)","title":"onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"onLongPressGesture","kind":"identifier"},{"kind":"text","text":"("},{"text":"minimumDuration","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Double","preciseIdentifier":"s:Sd","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"maximumDistance"},{"kind":"text","text":": "},{"preciseIdentifier":"s:14CoreFoundation7CGFloatV","kind":"typeIdentifier","text":"CGFloat"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"pressing"},{"kind":"text","text":": (("},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")?, ","kind":"text"},{"text":"perform","kind":"externalParam"},{"text":": () -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":") -> "},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP","text":"View"}],"url":"\/documentation\/fueling\/imagepicker\/onlongpressgesture(minimumduration:maximumdistance:pressing:perform:)"},"doc://rpm.com.production.Scanner/documentation/Fueling/ImagePicker":{"title":"ImagePicker","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker","abstract":[{"text":"A view for picking images using the system’s image picker.","type":"text"}],"url":"\/documentation\/fueling\/imagepicker","type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ImagePicker","kind":"identifier"}],"navigatorTitle":[{"text":"ImagePicker","kind":"identifier"}],"kind":"symbol","role":"symbol"}}}