摘要: textRectForBounds:Returns the drawing rectangle for the text field’s text.- (CGRect)textRectForBounds:(CGRect)boundsParametersboundsThe bounding rectangle of the receiver.Return ValueThe computed drawing rectangle for the label’s text.DiscussionYou should not call this method directly. If you want t 阅读全文
posted @ 2012-05-24 19:06 worldworld 阅读(669) 评论(0) 推荐(0) 编辑
摘要: UISearchBar是无法修改其 textField的大小的http://stackoverflow.com/questions/556814/changing-the-size-of-the-uisearchbar-textfieldThe text field used in UISearchBar is a subclass of UITextField called UISearchBarTextField.AFAIK, there's no way to resize a UISearchBarTextField using the public API, and thep 阅读全文
posted @ 2012-05-24 18:42 worldworld 阅读(1003) 评论(0) 推荐(0) 编辑