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
250
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
Spring Bootで実装とインフラをこれでもかと分離するための試み
shintanimoto
7
800
IVRyにおけるNLP活用と NLP2025の関連論文紹介
keisukeosone
0
190
サーバレス、コンテナ、データベース特化型機能をご紹介。CloudWatch をもっと使いこなそう!
o11yfes2023
0
160
20250411_HCCJP_AdaptiveCloudUpdates.pdf
sdosamut
1
110
LiteXとオレオレCPUで作る自作SoC奮闘記
msyksphinz
0
600
Стильный код: натуральный поиск редких атрибутов по картинке. Юлия Антохина, Data Scientist, Lamoda Tech
lamodatech
0
700
生成AIによるCloud Native基盤構築の可能性と実践的ガードレールの敷設について
nwiizo
5
470
PicoRabbit: a Tiny Presentation Device Powered by Ruby
harukasan
PRO
2
200
От ручной разметки к LLM: как мы создавали облако тегов в Lamoda. Анастасия Ангелова, Data Scientist, Lamoda Tech
lamodatech
0
710
AWS Control Towerを 数年運用してきての気づきとこれから/aws-controltower-ops-tips
tadayukinakamura
0
140
JPOUG Tech Talk #12 UNDO Tablespace Reintroduction
nori_shinoda
1
140
DuckDB MCPサーバーを使ってAWSコストを分析させてみた / AWS cost analysis with DuckDB MCP server
masahirokawahara
0
1.2k
Featured
See All Featured
Designing for humans not robots
tammielis
252
25k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
41
2.2k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Code Review Best Practice
trishagee
67
18k
GraphQLの誤解/rethinking-graphql
sonatard
71
10k
Site-Speed That Sticks
csswizardry
5
490
BBQ
matthewcrist
88
9.6k
Done Done
chrislema
183
16k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.5k
GraphQLとの向き合い方2022年版
quramy
46
14k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
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]