I want to show more button at the end of the text or below if there isn\'t enough space. I don\'t understand how Apple developers did this? Please answer in swift. After cli
Here's a great CocoaPod for the functionality you're looking for.
https://github.com/ilyapuchka/ReadMoreTextView
This will allow you to set a maximum number of lines and customise the text append to the end of the trimmed text. You can change the font and color since it is an NSAttributedString
.
If you add more than 4-5 view controllers to a TabBar Controller, either in storyboard or programmatically(adding array of controllers to a tabar controller), it automatically show a more item as a tabar item in TabBar.