support using attributed text in ios7