@光
你需要改用一個Textview顯示 並且爲textView.textContainer.exclusionPaths設置一片空白區域。然後從第二行起文字就會被那塊空白區域擠開。 ios 7以上有效 ,非常簡單,代碼 如下
CGRect rect = CGRectMake(0, 20, 10, self.textView.frame.size.height - 10);
UIBezierPath * path = [UIBezierPath bezierPathWithRect:rect];
self.textView.textContainer.exclusionPaths = @[path];