I created custom UIActivity and override variable activityImage used my image.

```
fileprivate extension UIActivity.ActivityType {
   static let extendedMessage = 
UIActivity.ActivityType("ExtendedMessage")
}

```

Custom UIActivity:

```
fileprivate class ExtendedMessageActivity: UIActivity {

private let phoneNumbers: [String]
private var message: String?
init(phoneNumbers: [String]) {
    self.phoneNumbers = phoneNumbers
    super.init()
}

override static var activityCategory: UIActivity.Category {
    return .share
}
override var activityType: UIActivity.ActivityType? { return .extendedMessage }

override var activityTitle: String? { return NSLocalizedString("Message", comment: "") }

override var activityImage: UIImage? {
    return UIImage(named: "message-app-icon")
}

override func canPerform(withActivityItems activityItems: [Any]) -> Bool {
    ....
}
override func prepare(withActivityItems activityItems: [Any]) {
  ....
}

override func perform() {
    ....
}

}

```

[The image appears in the set.](https://i.stack.imgur.com/ZjubE.jpg)
[I have a problem the image does not appear when it is in the "More" menu item.](https://i.stack.imgur.com/evNzo.jpg)
Why the image does not appear?