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
6.9 KiB

  1. {"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"View.alert(isPresented:content:)"},{"type":"text","text":"."}],"deprecationSummary":[{"type":"paragraph","inlineContent":[{"type":"text","text":"use `alert(title:isPresented:presenting::actions:) instead."}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"languages":["swift"],"tokens":[{"text":"nonisolated","kind":"attribute"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"alert"},{"text":"(","kind":"text"},{"text":"isPresented","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Binding","preciseIdentifier":"s:7SwiftUI7BindingV","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"content"},{"kind":"text","text":": () -> "},{"text":"Alert","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI5AlertV"},{"text":") -> ","kind":"text"},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"View","preciseIdentifier":"s:7SwiftUI4ViewP"},{"text":"\n","kind":"text"}]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewWrapper\/alert(isPresented:content:)"},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewWrapper","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewWrapper\/View-Implementations"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"platforms":[{"name":"iOS","introducedAt":"13.0","deprecatedAt":"100000.0","deprecated":false,"unavailable":false,"message":"use `alert(title:isPresented:presenting::actions:) instead.","beta":false},{"name":"iPadOS","beta":false,"unavailable":false,"deprecatedAt":"100000.0","deprecated":false,"message":"use `alert(title:isPresented:presenting::actions:) instead.","introducedAt":"13.0"},{"name":"Mac Catalyst","deprecated":false,"message":"use `alert(title:isPresented:presenting::actions:) instead.","beta":false,"unavailable":false,"introducedAt":"13.0","deprecatedAt":"100000.0"},{"unavailable":false,"deprecatedAt":"100000.0","deprecated":false,"introducedAt":"10.15","beta":false,"name":"macOS","message":"use `alert(title:isPresented:presenting::actions:) instead."},{"beta":false,"introducedAt":"13.0","message":"use `alert(title:isPresented:presenting::actions:) instead.","name":"tvOS","unavailable":false,"deprecatedAt":"100000.0","deprecated":false},{"name":"visionOS","introducedAt":"1.0","beta":false,"message":"use `alert(title:isPresented:presenting::actions:) instead.","unavailable":false,"deprecated":false,"deprecatedAt":"100000.0"},{"deprecated":false,"deprecatedAt":"100000.0","beta":false,"introducedAt":"6.0","unavailable":false,"name":"watchOS","message":"use `alert(title:isPresented:presenting::actions:) instead."}],"extendedModule":"SwiftUICore","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"alert","kind":"identifier"},{"text":"(","kind":"text"},{"text":"isPresented","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI7BindingV","text":"Binding","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":">, ","kind":"text"},{"text":"content","kind":"externalParam"},{"text":": () -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI5AlertV","text":"Alert","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"}],"symbolKind":"method","externalID":"s:7SwiftUI4ViewPAAE5alert11isPresented7contentQrAA7BindingVySbG_AA5AlertVyXEtF::SYNTHESIZED::s:7Fueling14PDFViewWrapperV","role":"symbol","roleHeading":"Instance Method","title":"alert(isPresented:content:)","modules":[{"relatedModules":["SwiftUICore"],"name":"Fueling"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/pdfviewwrapper\/alert(ispresented:content:)"]}],"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/PDFViewWrapper":{"role":"symbol","navigatorTitle":[{"text":"PDFViewWrapper","kind":"identifier"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewWrapper","kind":"symbol","url":"\/documentation\/fueling\/pdfviewwrapper","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PDFViewWrapper"}],"type":"topic","title":"PDFViewWrapper","abstract":[]},"doc://rpm.com.production.Scanner/documentation/Fueling/PDFViewWrapper/View-Implementations":{"url":"\/documentation\/fueling\/pdfviewwrapper\/view-implementations","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewWrapper\/View-Implementations","abstract":[],"kind":"article","title":"View Implementations","role":"collectionGroup","type":"topic"},"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/PDFViewWrapper/alert(isPresented:content:)":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewWrapper\/alert(isPresented:content:)","type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"alert"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"isPresented"},{"text":": ","kind":"text"},{"text":"Binding","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI7BindingV"},{"text":"<","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"content"},{"text":": () -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI5AlertV","kind":"typeIdentifier","text":"Alert"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"}],"deprecated":true,"title":"alert(isPresented:content:)","url":"\/documentation\/fueling\/pdfviewwrapper\/alert(ispresented:content:)","abstract":[],"kind":"symbol"}}}