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
Adapting iOS8
Search
Aviel Lazar
July 15, 2014
Technology
0
200
Adapting iOS8
Guidelines, gotchas and some cool stuff to consider when making your app ready for iOS8
Aviel Lazar
July 15, 2014
Tweet
Share
Other Decks in Technology
See All in Technology
ゆめみのアクセシビリティの現在地と今後
ryokatsuse
3
290
Datadog Cloud SIEMを使ってAWS環境の脅威を可視化した話/lifeistech-datadog-cloud-siem
gidajun
0
480
データ分析基盤を作ってみよう~設計編~
nrinetcom
PRO
1
110
AWS IAMのアンチパターン/AWSが考える最低権限実現へのアプローチ概略(JAWS-UG朝会#59資料改修20分版)
htan
0
330
Matterport を使ってクラスメソッド各拠点のバーチャルオフィスツアーを作成してみた
wakatsuki
0
160
プレイドにおけるDatadog APMの活用方法
plaidtech
PRO
2
120
データ分析を支える技術 生成AI再入門
ishikawa_satoru
0
380
ここがすごいよ! AWS Systems Manager!
saichan11
0
1.8k
AIアシスタントの活用で品質の向上と開発ワークフローのスピードアップ
nagix
1
210
Amazon FSx for NetApp ONTAPのパフォーマンスチューニング要素をまとめてみた #cm_odyssey #devio2024
non97
0
220
dxd2024-生成AIに振り回された3か月間の成功と失敗/dxd2024-link-and-motivation
lmi
2
260
開発生産性をむしろ向上させる セキュリティパートナーの作り方 / Dev Productivity Con 2024
flatt_security
0
390
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
35
4.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
17
1.5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
17
8.7k
The Straight Up "How To Draw Better" Workshop
denniskardys
229
130k
Embracing the Ebb and Flow
colly
81
4.3k
Building an army of robots
kneath
301
42k
GitHub's CSS Performance
jonrohan
1026
450k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Documentation Writing (for coders)
carmenintech
63
4.2k
It's Worth the Effort
3n
181
27k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.8k
Transcript
Adapting iOS 8 Aviel Lazar @aviellazar TLV iOS Developers
Meetup
Your iOS7 apps • Work! • Don’t look deprecated •
And yet…
Privacy Permissions Attack
Permissions Attack #1 Camera
Always vs. While in Use Permissions Attack #2 Location
Permissions Attack #3 • Permission Required – NEW: Local Notifications – Push
Notifications • No Permission Needed: – Silent Push Notifications • Gotcha: New API! registerUserNotificationSettings:notificationSettings
Best Practices • Prompt in context • Specify the purpose
• NEW: Privacy settings link !UIApplicationOpenSettingsURLString" " http://techcrunch.com/2014/04/04/the-right-way-to-ask-users-for-ios-permissions/
Push Notifications
In App Purchases • Ask to Buy feature of Family
Sharing – New transaction state – Deferred
• Payment is neither purchased or failed – Further update will
be received – Indeterminate time • Meanwhile – Allow the user to use the app – Repurchase allowed Deferred Transaction
Keyboard Height Accessory View Displayed Above that
Condensing Bars
UI Adaptivity • Canvas Space vs. Orientation • Regular vs.
Compact
UI Adaptivity
UI Adaptivity • UITraitsCollection – horizontalSizeClass – verticalSizeClass – displayScale – userInterfaceIdiom
UI Adaptivity • Adaptive View Controller - UITrairtsEnviorment – UIPresentationController
• Popover • AlertsView,ActionSheet • Search • Custom – UISplitViewController • Adaptive Image Assets " [UIImage named: ”Cart” " inBundle: nil " compatibleWithTraitCollection: self.traitCollection]"
UI Adaptivity Gotcha • [[UIScreen mainScreen] bounds] – Is now orientation
aware!
UITableView Dynamic Text Support
UITableView Cells • rowHeight • Delegate • Self Sizing Cells
(Dynamic Type) – Auto Layout – sizeThatFits: is height for width – table.View.rowHeight =44 (gotcha) – tableView.estimatedRowHeight = 44
WKWebView • It’s the Safari WebView – Multi Process ,
Gestures, Fast JavaScript • Powerful integration for Hybrid Apps: • Navigation Delegate • User scripts • Script Messages – JSON" – window.webkit.messageHandlers.<name>.postMessage();"
WKWebView
Modern Objective - C • instanacetype – (instancetype)initWithFrame:(CGRect)frame; " •
Properties vs. method notations ! !"
iTunes Connect • iTunes Connect Analytics – App Page Views
– Website Links – Campaign Links • App Bundles – Only for paid apps – Complete my bundle
App Previews • 30 Seconds • Shows UI/Functionality • Easily
Capture - OS X Yosemite and iOS 8 • Can Do: – Narrations • Don’t Do: – Hands – Prices – Copyright infringement
Hidden Gems & More… • Localization – XCode will Import/Export
XLIFF files – Previews (RTL support) • Instruments – Network profiling
Thank You We’re Hiring!
[email protected]