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
230
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
Postman Vaultを使った秘密情報の安全な管理
nagix
3
130
private spaceについてあれこれ調べてみた
operando
1
170
地方企業がクラウドを活用するヒント
miu_crescent
PRO
1
110
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
10
120k
アーキテクチャわからん、の話
shirayanagiryuji
0
150
DevSecOps入門:Security Development Lifecycleによる開発プロセスのセキュリティ強化
yuriemori
0
230
AWSエンジニアに捧ぐLangChainの歩き方
tsukuboshi
0
220
GraphRAG: What I Thought I Knew (But Didn’t)
sashimimochi
1
230
信頼性を支えるテレメトリーパイプラインの構築 / Building Telemetry Pipeline with OpenTelemetry
ymotongpoo
9
5k
Power BI は、レポート テーマにこだわろう!テーマのティア表付き
ohata_ds
0
120
2025/1/29 BigData-JAWS 勉強会 #28 (re:Invent 2024 re:Cap)/new-feature-preview-q-in-quicksight-scenarios-tried-and-tested
emiki
0
310
アクセシブルなマークアップの上に成り立つユーザーファーストなドロップダウンメニューの実装 / 20250127_cloudsign_User1st_FE
bengo4com
2
1.2k
Featured
See All Featured
Statistics for Hackers
jakevdp
797
220k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
270
How STYLIGHT went responsive
nonsquared
96
5.3k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
Faster Mobile Websites
deanohume
305
30k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
It's Worth the Effort
3n
184
28k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.4k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Gamification - CAS2011
davidbonilla
80
5.1k
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]