UIPreviewActivityViewController
An UIActivityViewController with preview.
Install / Use
/learn @Meniny/UIPreviewActivityViewControllerREADME
:name: UIPreviewActivityViewController
:author: Elias Abel
:author_esc: Elias%20Abel
:mail: admin@meniny.cn
:desc: an UIActivityViewController with preview
:icon: {name}.png
:version: 1.1.0
:na: N/A
:ios: 9.0
:macos: {na}
:watchos: {na}
:tvos: {na}
:linux: {na}
:xcode: 10.2
:swift: 5
:license: MIT
:sep: %20%7C%20
:platform: iOS
// :toc: left
:toclevels: 6
:toc-title: TOC
:source-highlighter: highlightjs
// :source-highlighter: pygments
= Meet {name}
{author} <{mail}>
v{version}, 2018-06-08
[subs="attributes"] ++++
<p align="center"> <img src="./Assets/{icon}" alt="{name}" height="200px"> <br/><br/> <img alt="Author" src="https://img.shields.io/badge/author-{author_esc}-blue.svg"> <img alt="EMail" src="https://img.shields.io/badge/mail-{mail}-orange.svg"> <img alt="MIT" src="https://img.shields.io/badge/license-{license}-blue.svg"> <br/> <img alt="Version" src="https://img.shields.io/badge/version-{version}-brightgreen.svg"> <img alt="Platforms" src="https://img.shields.io/badge/platform-{platform}-lightgrey.svg"> <img alt="Swift" src="https://img.shields.io/badge/swift-{swift}%2B-orange.svg"> <br/> <img alt="Build Passing" src="https://img.shields.io/badge/build-passing-brightgreen.svg"> <img alt="Cocoapods" src="https://img.shields.io/badge/cocoapods-compatible-brightgreen.svg"> <img alt="Carthage" src="https://img.shields.io/badge/carthage-compatible-brightgreen.svg"> <img alt="SPM" src="https://img.shields.io/badge/spm-compatible-brightgreen.svg"> </p> ++++:toc:
== 🏵 Introduction
{name} is {desc}.
image::./Assets/Preview.gif[Preview.gif]
== 📋 Requirements
[%header] |=== 2+^m|Type 1+^m|Requirement
1.5+^.^|Platform ^|iOS ^|{ios}+ ^|macOS ^|{macos} ^|tvOS ^|{tvos} ^|watchOS ^|{watchos} ^|Linux ^|{linux}
^|IDE ^|Xcode ^| {xcode}+ ^|Language ^|Swift ^| {swift}+ |===
== 📲 Installation
=== CocoaPods
{name} is available on link:https://cocoapods.org[CocoaPods].
[source, ruby, subs="verbatim,attributes"]
use_frameworks! pod '{name}'
=== Manually
Copy all files in the {name} directory into your project.
== 🛌 Dependency
{na}
== ❤️ Contribution
You are welcome to fork and submit pull requests.
== 🔖 License
{name} is open-sourced software, licensed under the link:./LICENSE.md[{license}] license.
== 🔫 Usage
[source, swift, subs="verbatim,attributes"]
import {name}
let shareControler = UIPreviewActivityViewController.init(activityItems: [string, #imageLiteral(resourceName: "pic1")) controller.present(shareControler, animated: true, completion: nil)
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
