Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about uiactivity

Read more about uiactivity

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - uiactivity

UIActivityViewController handle Cancel action | Swift/Xcode

I can't find complete code in Swift of how to execute an action when the user presses the "x" in a UIActivityViewController (top right), cancelling the share. This is what I currently have: ...
test-img

Christian W

swift

xcode

uiactivityviewcontroller

cancellation

uiactivity

Votes: 0

Answers: 1

Latest Answer

You can do it this way. vc.completionWithItemsHandler = { activityType, completed, returnedItems, error in // Your logic here }
test-img

koropok

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved