Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
Hiramatsu Ryosuke
PDF, PPTX
11,269 views
AppSwitcherでアプリをユーザーファーストに
iOS 7から変更されたAppSwitcherを使って色々やる話です。 バックグラウンド実行をつかっているアプリなどに有効。 potatotips #4, iOS_LT #5 で発表したネタです。
Technology
◦
Read more
12
Save
Share
Embed
Embed presentation
Download
Download as PDF, PPTX
1
/ 16
2
/ 16
3
/ 16
4
/ 16
5
/ 16
6
/ 16
7
/ 16
8
/ 16
9
/ 16
10
/ 16
11
/ 16
12
/ 16
13
/ 16
14
/ 16
15
/ 16
16
/ 16
More Related Content
PDF
これができない!Apple watch
by
SatoTakeshi
PPTX
PWA
by
Tomoyuki Tochihira
PDF
APPS JAPAN 出展報告と小型心拍センサmyBeatシリーズの紹介~
by
Device WebAPI Consortium
PDF
数万円のセンサー&デバイスで できる 楽しいデジタルパフォーマンス
by
Satoshi Maemoto
PDF
20161008 Pepper with Android
by
Kenichi Ohwada
PDF
「iOS 12、Android 9時代の今からでも始められるモバイル開発入門」
by
Embarcadero Technologies
PDF
テストを書きたいあなたが意識すべきただ一つのこと
by
Shoichi Matsuda
PDF
iOSで笑顔を認識する
by
Kosuke Ogawa
これができない!Apple watch
by
SatoTakeshi
PWA
by
Tomoyuki Tochihira
APPS JAPAN 出展報告と小型心拍センサmyBeatシリーズの紹介~
by
Device WebAPI Consortium
数万円のセンサー&デバイスで できる 楽しいデジタルパフォーマンス
by
Satoshi Maemoto
20161008 Pepper with Android
by
Kenichi Ohwada
「iOS 12、Android 9時代の今からでも始められるモバイル開発入門」
by
Embarcadero Technologies
テストを書きたいあなたが意識すべきただ一つのこと
by
Shoichi Matsuda
iOSで笑顔を認識する
by
Kosuke Ogawa
More from Hiramatsu Ryosuke
PDF
iOS 8/Swift 概要 #ios8yahoo
by
Hiramatsu Ryosuke
PDF
これからはじめる SwiftPlayground入門
by
Hiramatsu Ryosuke
PDF
6秒動画アプリ Vineの作り方
by
Hiramatsu Ryosuke
PDF
iOSアプリ開発にほんのり役に立つtips集
by
Hiramatsu Ryosuke
PDF
5分でつまむEffective Objective-C
by
Hiramatsu Ryosuke
PDF
Xcodeを便利に使って爆速開発する #yxcm
by
Hiramatsu Ryosuke
PDF
iOSアプリの特急申請 - Apple Expedited Review Request
by
Hiramatsu Ryosuke
PDF
emoSound by たこ部 | OpenHackDay2
by
Hiramatsu Ryosuke
PDF
Bitbucket Pull Request 練習帳
by
Hiramatsu Ryosuke
KEY
iPhoneアプリ開発を楽に楽しくするサイトまとめ
by
Hiramatsu Ryosuke
PDF
Unix
by
Hiramatsu Ryosuke
PDF
C-langage
by
Hiramatsu Ryosuke
iOS 8/Swift 概要 #ios8yahoo
by
Hiramatsu Ryosuke
これからはじめる SwiftPlayground入門
by
Hiramatsu Ryosuke
6秒動画アプリ Vineの作り方
by
Hiramatsu Ryosuke
iOSアプリ開発にほんのり役に立つtips集
by
Hiramatsu Ryosuke
5分でつまむEffective Objective-C
by
Hiramatsu Ryosuke
Xcodeを便利に使って爆速開発する #yxcm
by
Hiramatsu Ryosuke
iOSアプリの特急申請 - Apple Expedited Review Request
by
Hiramatsu Ryosuke
emoSound by たこ部 | OpenHackDay2
by
Hiramatsu Ryosuke
Bitbucket Pull Request 練習帳
by
Hiramatsu Ryosuke
iPhoneアプリ開発を楽に楽しくするサイトまとめ
by
Hiramatsu Ryosuke
Unix
by
Hiramatsu Ryosuke
C-langage
by
Hiramatsu Ryosuke
AppSwitcherでアプリをユーザーファーストに
1.
AppSwitcher でアプリをユーザーファーストに Ryosuke Hiramatsu
2.
自己紹介 ・@himara2 ・東京ミッドタウンでエンジニア ・会社や個人でiOSアプリを作ってます ・今日はAppSwitcherについて話します Manifesto
3.
AppSwitcher? ・iOS 7から登場 ・ホームボタンダブルタップで出るアレ ・アイコン+スクリーンショット ・「UIが良ければユーザーは戻る」
4.
変わったのは見た目だけ、 ではない
5.
スワイプして消すと... ・「バックグラウンド実行」がSTOP! ・Background Fetch ・Silent Push
Notification ・Location Services
6.
スワイプして消すと... ・「バックグラウンド実行」がSTOP! ・Background Fetch ・Silent Push
Notification ・Location Services 色々な問題が発生する
7.
○その1 バックグラウンドで 生き続ける必要があるアプリ
8.
○その1 - バックグラウンドで生き続ける必要があるアプリ アプリが終了された タイミングでAlertを出す。
9.
○その1 - バックグラウンドで生き続ける必要があるアプリ <アプリが終了したタイミングでLocal通知> -
(void)applicationWillTerminate:(UIApplication *)application { UILocalNotification *notification = [[UILocalNotification alloc] init]; if (notification) { notification.timeZone = [NSTimeZone defaultTimeZone]; notification.repeatInterval = 0; notification.alertBody = @"アプリを終了するとログがとれなくなります。再起動しますか?"; notification.alertAction = @"再起動する"; } } [[UIApplication sharedApplication] scheduleLocalNotification:notification]; ※willTerminateが呼ばれるには バックグラウンド実行中である必要があります。
10.
○その2 途中で切られたら タスクが完了できないアプリ。
11.
○その2 - 途中で切られたタスクが完了できないアプリ
12.
○その2 - 途中で切られたタスクが完了できないアプリ -
(UIView *)coverView { if (_coverView == nil) { UIStoryboard *board = self.window.rootViewController.storyboard; UIViewController *vc = [board instantiateViewControllerWithIdentifier:@"CoverViewController"]; _coverView = vc.view; } return _coverView; } - (void)setCoverPage { [self.window addSubview:self.coverView]; } - (void)removeCoverPage { [self.coverView removeFromSuperview]; } - (void)applicationWillResignActive:(UIApplication *)application { [self setCoverPage]; } - (void)applicationDidBecomeActive:(UIApplication *)application { [self removeCoverPage]; }
13.
○番外編 AppSwitcher画面を 装飾する時に気をつけること
14.
装飾する際の注意 ・カードのサイズは以下 Device | Card size |
Device screen size ---------------|-----------------------------------3.5" iPhone(r) | 304 x 456 | 640 x 960 4.0" iPhone(r) | 304 x 540 | 640 x 1136 iPad | 384 x 512 | 1024 x 768 iPad (retina) | 768 x 1024 | 2048 x 1536 ・テキストはかなり大きめにする ・BackgroundFetchで随時変更も可 - ScreenShotの方向は EnterBackground 時のもので固定
15.
参考 バックグラウンドで動くアプリが終了された タイミングでアラートを出す - koogawa
blog アプリの画面を開いているアプリケーションの プレビュー画面から隠す - qiita.com A closer look at the iOS7 App Switcher - VINH PHUC DINH サンプルコード - GitHub
16.
終わり
Download