阅读背景:

在autolayout(iOS)中将项目置于其他两个项目之间

来源:互联网 

I have 5 items on the top of my View Controller, and I am trying to space them evenly with autolayout. For the left item (back button), I added a constraint to be 15px from the left border, and for the right item (camera), I added a constraint to be 15px from the right border. Then, I set up the center item (0:01) to align center x so it is in the middle. Lastly, I selected "Reset to suggested constraints" for the ... and the flash item.I have 5 items on the top of my View Controller




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: