UILabel.attributedText not show up on iPhone 4 + iOS 7.0.3 -


got iphone 4 in field , strange problem, uilabel not show text. tested on iphone 4s + ios 7 simulator, works fine.

code:

nsmutableattributedstring *attributestring = [[nsmutableattributedstring alloc] initwithstring:[collabel.text copy]]; [attributestring addattribute:nsunderlinestyleattributename                         value:[nsnumber numberwithint:1]                         range:(nsrange){0,[attributestring length]}]; collabel.text = nil; collabel.attributedtext = [attributestring copy]; collabel.font = [uifont boldsystemfontofsize:12]; 

i have checked. showing on iphone 4, there may else. clean build , delete device , run again


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -