Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想像这样设置 Monotouch Dialog Section的样式(将蓝色背景更改为我自己的图像)...
我怎么做?
谢谢
您需要将 Section 的 HeaderView 设置为新的 UILabel 对象。UILabel 是 UIView 的后代,所以它们非常适合这个。
确保将背景设置为黑色,将字体设置为所需的字体,并将帧大小设置为 (320,22)。MonoTouch 使用该帧大小来计算标题应该有多大。