简体   繁体   中英

iOS 8 Today Interface Builder

I've programatically set the width and height of my Today widget, and those changes are reflected when I run my app on my phone. However in my storyboard, the height has not changed (so I can't really position objects properly).

在此处输入图片说明

How can I set the view size in IB? It doesn't let me change the width/height at the moment.

EDIT: This post is about how to set up the layout it in storyboard, not how to code the widget which I can do.

在IB中选择视图,单击标尺图标(尺寸检查器?),然后有一个高度字段,您可以将其更改为所需的任何值

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM