Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
301 views
in Technique[技术] by (71.8m points)

xcode - TabViewController : centering the children views & setting the background

I have a SplitviewController, with a tabViewController embed in the right part of it. the 3 buttons inside the left apnea are used to display 3 different windows.

First issue: there's some kind of grey background appearing for Windows 2 and 3 but not for the first, I can't figure out how to get rid of it

Window 1

Window 2

Designer

Second issue : I don't know how to center the view of my windows inside the TabView (on the picture above you can see that the label isn't displayed at the center of the right panel despite being centered in the designer).

Edit : Second issue solved. I still don't figure out how to remove the background.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...