Skip to content

Commit

Permalink
Update README.md (#241)
Browse files Browse the repository at this point in the history
Thanks
  • Loading branch information
Thaanu2001 committed Jan 17, 2024
1 parent e1a945c commit 14c38ee
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,18 +199,19 @@ import UIKit
import Social
import MobileCoreServices
import Photos
import UniformTypeIdentifiers

class ShareViewController: SLComposeServiceViewController {
var hostAppBundleIdentifier = ""
var appGroupId = ""
let sharedKey = "ShareKey"
var sharedMedia: [SharedMediaFile] = []
var sharedText: [String] = []
let imageContentType = kUTTypeImage as String
let videoContentType = kUTTypeMovie as String
let textContentType = kUTTypeText as String
let urlContentType = kUTTypeURL as String
let fileURLType = kUTTypeFileURL as String;
let imageContentType = UTType.image.identifier
let videoContentType = UTType.movie.identifier
let textContentType = UTType.text.identifier
let urlContentType = UTType.url.identifier
let fileURLType = UTType.fileURL.identifier;

override func isContentValid() -> Bool {
return true
Expand Down

0 comments on commit 14c38ee

Please sign in to comment.