Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Activity View Controller (CocoaHeads Lyon octob...
Search
Vincent Tourraine
October 11, 2013
Programming
0
120
Activity View Controller (CocoaHeads Lyon octobre 2013)
Vincent Tourraine
October 11, 2013
Tweet
Share
More Decks by Vincent Tourraine
See All by Vincent Tourraine
iOS 7 - View Controllers Custom Transitions (CocoaHeads Lyon avril 2014)
vtourraine
0
150
iOS 7 - Background Fetching (CocoaHeads Lyon octobre 2013)
vtourraine
0
220
Other Decks in Programming
See All in Programming
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
260
さいきょうのレイヤードアーキテクチャについて考えてみた
yahiru
3
660
“あなた” の開発を支援する AI エージェント Bedrock Engineer / introducing-bedrock-engineer
gawa
11
1.6k
富山発の個人開発サービスで日本中の学校の業務を改善した話
krpk1900
4
340
ゼロからの、レトロゲームエンジンの作り方
tokujiros
3
1.2k
iOSエンジニアから始める visionOS アプリ開発
nao_randd
3
110
Linux && Docker 研修/Linux && Docker training
forrep
23
4.3k
Alba: Why, How and What's So Interesting
okuramasafumi
0
240
2025.01.17_Sansan × DMM.swift
riofujimon
3
690
Pythonでもちょっとリッチな見た目のアプリを設計してみる
ueponx
1
330
振り返れば奴(Cline)がいる
keiyagi
0
160
自動で //nolint を挿入する取り組み / Gopher's Gathering
utgwkk
1
210
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Building Applications with DynamoDB
mza
93
6.2k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.4k
The Invisible Side of Design
smashingmag
299
50k
Fireside Chat
paigeccino
34
3.2k
Gamification - CAS2011
davidbonilla
80
5.1k
How STYLIGHT went responsive
nonsquared
98
5.3k
Typedesign – Prime Four
hannesfritz
40
2.5k
Transcript
UIActivityViewController CocoaHeads Lyon - octobre 2013 Vincent Tourraine - shazino
Pour quoi faire ? ➡ Échange de données avec différents
services (Email, Twitter, services tiers) ✴ Nouveauté iOS 7 : AirDrop ✴
None
iOS 6 iOS 7
UIActivityViewController @interface UIActivityViewController : UIViewController - (id)initWithActivityItems:(NSArray *)activityItems applicationActivities:(NSArray *)applicationActivities;
Activity Items • NSString • NSURL (file:// ou http://) •
UIImage • <UIActivityItemSource>
Application Activities • Instance d’une classe héritant d’UIActivity ‣ Type
‣ Image ‣ Titre ‣ Méthode canPerformWithActivityItems: ‣ Méthode performActivity
UIActivityViewController @interface UIActivityViewController : UIViewController - (id)initWithActivityItems:(NSArray *)activityItems applicationActivities:(NSArray *)applicationActivities;
Présentation ➡ iPhone, iPod touch : modal ➡ iPad :
popover
Plus d’infos • UIActivityViewController Class Reference https://developer.apple.com/library/ios/documentation/uikit/reference/ UIActivityViewController_Class/Reference/Reference.html • UIActivity
Class Reference https://developer.apple.com/library/ios/documentation/uikit/reference/ UIActivity_Class/Reference/Reference.html