ios - Unwanted space at the bottom of View after UILabel using ScrollView -
i have got view have attached screen shot, have got unwanted space @ bottom of second uilabel, content coming uilabel web url json using alamofire. have set lines 0. can understand why space there because label , not fill height of bottom, if change height fit it, texts gets truncated. how avoid space. have added relevant constraints. new swift.
i have solved it, stretched bottom labels height fill bottom , took off height constraint. in viewcontroller added
articlecontentvalue.sizetofit()
Comments
Post a Comment