“top layer guide is deprecated science iOS 11” Waring handling

(layer guide, Storyboard)

在Xcode 9以前創建的開專案時
Storyboard的View使用Top Layout Guide 和 Bottom Layout Guide

而在Xcode 9 後新開的專案,預設採用 Safe Area
不再是 Top Layout Guide 和 Bottom Layout Guide

因此會出現下圖警示訊息

top layer guide is deprecated science iOS 11

可以參考本文

點ViewContoller
勾選Use Safe Area Layout Guides

畫面直接使用Safe Area
一般來說無痛轉移,不會有問題

--

--

--

學習 Swift iOS App 開發的學生作品集

Recommended from Medium

Addressable Editor Related Development Issues

Once upon a time, a friend told me that no one really takes people out on coffee dates

Mentorship in Testing and Automation

[閱讀筆記] Clean Code Chapter 13 — Concurrency

How To Build Your API Monetization Strategy

Project One — The Simplest Weather App

SOLID design principles introduced by Uncle Bob

Top DevOps Tools for Infrastructure Automation — 2020

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Peggy Tsai 

Peggy Tsai 

iOS & Golang 隨手記 www.linkedin.com/in/peggytsaifc 歡迎+Linkedin交流~

More from Medium

Real life + virtual reality — my first experience

[Measurement APIs] How to create custom Units and Dimensions (Part 2)

Portofolio Part 5: “Mavible”

Easy Gaze Scrolling for iOS App.