简体   繁体   中英

ios center multiple uilabel in a view

I have to center 3 labels horizontally on the same line. So :

The first label can be resize (programmatically) The second and third have fixed width.

I want to put ALL 3, in the same line and center all 3.

Have I to put all 3 in a view ? Or stackView?

Thanks for help

将容器中心的水平中心添加到所有三个标签。

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