开发者

Space between labels when user leave a text field empty

Space between labels when user leave a text field empty

Hi I have some text field which, after a decoding, set some UILabel. The problem is that if the user leave some empty field , I don't like to see that space between the labels. I enclose a picture for a better understanding. thank开发者_C百科s in advance.


instead of the view below use a uitableview with custom cells Each custom cell having a label ...and add a cell if and only if u have a valid string in a textfeild..set userinteraction=NO and set some backgroung color to match ur view..

just put that string in the uilabel in the custom cell...thats it..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜