-4

MY app is crashing when i try to fetching contact image from ABAddressbook the crashing result is due to "Receive memory warning.."

abymathew
  • 115
  • 1
  • 1
  • 11
  • 4
    Where is the code where you tried to solve this using [`NSAttributtedstring`](https://developer.apple.com/library/ios/documentation/cocoa/reference/foundation/Classes/NSAttributedString_Class/Reference/Reference.html), looks like a a code request to me. – rckoenes Oct 08 '13 at 10:19
  • possible duplicate of [Bold & Non-Bold Text In A Single UILabel?](http://stackoverflow.com/questions/3586871/bold-non-bold-text-in-a-single-uilabel) – Matthias Bauch Oct 08 '13 at 10:35

3 Answers3

2

There is a readymade code available in Git.I have used this and this will resolve you problem.

Try this:

https://github.com/AliSoftware/OHAttributedLabel

Geekoder
  • 1,531
  • 10
  • 21
1

you have to use CoreText FrameWork. Maybe this tutorial can help you

Mirko Catalano
  • 3,850
  • 2
  • 26
  • 39
1

You can not create this with simple UILabel

https://github.com/honcheng/RTLabel best one, lightwaited.

Vaibhav Saran
  • 12,848
  • 3
  • 65
  • 75