➕ Add share intent
This commit is contained in:
18
ios/SolarShare/ShareViewController.swift
Normal file
18
ios/SolarShare/ShareViewController.swift
Normal 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
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user