Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

221
Views
Realizar una acción después de presionar el botón de una entrada en SwiftEntryKit

He agregado 2 botones a mi ventana emergente SwiftEntryKit , pero no puedo averiguar cómo hacer algo después de presionar un botón.

Sigo el patrón establecido con su ejemplo para las alertas .

Intenté ingresar algo en la acción de descartar, pero no funcionó:

 // Ok Button let okButtonLabelStyle = EKProperty.LabelStyle(font: buttonFont, color: buttonColor) let okButtonLabel = EKProperty.LabelContent(text: "OK, ACCEPT", style: okButtonLabelStyle) let okButton = EKProperty.ButtonContent(label: okButtonLabel, backgroundColor: .clear, highlightedBackgroundColor: buttonColor.withAlphaComponent(0.05)) { SwiftEntryKit.dismiss { print("okButton") } }

Gracias.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Debe establecer entryInteraction en .absorbTouches para la propiedad de attributes de SwiftEntryKit.display .

 var attributes = EKAttributes() attributes.entryInteraction = .absorbTouches [...] SwiftEntryKit.display(entry: <entry variable>, using: attributes)
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!