2014-09-23 59 views
1

蘋果公司建議我們應該:在今天插件擴展對齊子視圖

Align content with the widget’s title. When your widget content aligns with your title, people can easily scan the Today view for the widget they want. Respect the margins in the Today view, and restrain your content to the widget content area shown here.

,並提供以下圖片:

enter image description here

如何編程,使用自動佈局,對齊一個UILabel的左邊與標題的邊緣?或者我預計會「眼球」呢?

來源:https://developer.apple.com/LIBRARY/PRERELEASE/IOS/documentation/UserExperience/Conceptual/MobileHIG/AppExtensions.html#//apple_ref/doc/uid/TP40006556-CH67-SW4

回答

0

只需將它與您的超級視角左邊緣對齊,即將小部件內容區域。