I am trying to create a label TTF box that is specified by x, y, width, and height that can accept any string and adjust the font size to be as big as possible and still fit in the box. I have been trying several approaches.but it doesn't quite work.Here,I have created my own custom Label Class of dynamic font size.

WELCOME TO iOSLINKER

SUSCRIBE TO NEWSLETTER

FOLLOW ME

I am Jitendra Gochhayat, an iOS developer,blogger, from Odisha,India.I write about Objective C tutorials,iOS interview Questions And Answers,swift tutorials and cocos2d-x sample codes to help the developers.