label1, label2 and label3 are all inputed by the user, therefore emailString doesn't have a certain character length. The problem is, if emailString has a character greater than 140, none of the string appears in the TWTweetComposeViewController.
Setup a character count label and actively count the characters as the user is typing. When they reach the limit, do not allow them type anymore. This is the UITextField delegate method you'll be looking at:
Setup a character count label and actively count the characters as the user is typing. When they reach the limit, do not allow them type anymore. This is the UITextField delegate method you'll be looking at:
It is called whenever the user adds or deletes a character.
Sorry, I didn't explain it right. I meant the user inputs it from there music library so the different labels are like artist, song and album. So I can't really control how many characters they have.
That's not really a problem with code then, you have to first figure out what you want to do when their selections exceed 140 characters. After that, I figure it would be pretty easy to implement it. I don't really have a solution except truncating the textfields equally but that seems like a bad idea.
__________________
If you are looking for a quality developer, I'm your man. Give me a PM if you are interested.
That's not really a problem with code then, you have to first figure out what you want to do when their selections exceed 140 characters. After that, I figure it would be pretty easy to implement it. I don't really have a solution except truncating the textfields equally but that seems like a bad idea.