При использовании контроллера UIAactivityView из консоли генерируется сообщениеIOS

Программируем под IOS
Anonymous
При использовании контроллера UIAactivityView из консоли генерируется сообщение

Сообщение Anonymous »


First of all, please understand that I use a translator.

I'm using the UIAActivityViewController to create a feature that shares images and texts.

When I run the senter image description hereharing function, I get a message like the picture from the console.

Does anyone know why?

Please tell me the answer

Thank.

I don't think the message in the picture should come out. This is my code.
guard let image = postImageView.image else { return } let items = [viewModel.post.caption, image] as [Any] let ac = UIActivityViewController(activityItems: items, applicationActivities: nil) ac.popoverPresentationController?.sourceView = self.view ac.excludedActivityTypes = [.assignToContact, .copyToPasteboard] present(ac, animated: true)

Источник: https://stackoverflow.com/questions/781 ... -the-conso

Вернуться в «IOS»