15 lines
		
	
	
		
			467 B
		
	
	
	
		
			Swift
		
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			467 B
		
	
	
	
		
			Swift
		
	
	
	
| // If you get no such module 'receive_sharing_intent' error.
 | |
| // Go to Build Phases of your Runner target and
 | |
| // move `Embed Foundation Extension` to the top of `Thin Binary`.
 | |
| 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 false
 | |
|     }
 | |
|     
 | |
| }
 |