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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Aviel Lazar
July 15, 2014
Technology
0
270
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
Introduction to Bill One Development Engineer
sansan33
PRO
0
360
プロポーザルに込める段取り八分
shoheimitani
1
280
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.5k
配列に見る bash と zsh の違い
kazzpapa3
3
160
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
560
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
380
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
220
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
What happened to RubyGems and what can we learn?
mikemcquaid
0
300
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
660
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
17k
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
A Modern Web Designer's Workflow
chriscoyier
698
190k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
55
The Pragmatic Product Professional
lauravandoore
37
7.1k
Being A Developer After 40
akosma
91
590k
Code Reviewing Like a Champion
maltzj
527
40k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Six Lessons from altMBA
skipperchong
29
4.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
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]