Add share intent

This commit is contained in:
2024-12-15 12:10:45 +08:00
parent 5c377dc0b6
commit 09ad917e5d
14 changed files with 441 additions and 7 deletions

View File

@ -0,0 +1,18 @@
//
// ShareViewController.swift
// SolarShare
//
// Created by LittleSheep on 2024/12/15.
//
import receive_sharing_intent
class ShareViewController: RSIShareViewController {
// Use this method to return false if you don't want to redirect to host app automatically.
// Default is true
override func shouldAutoRedirect() -> Bool {
return true
}
}