I have a UITextField called txtvwEmail. i am adding the text from txtvwEmail.text to the Array pastUrls but after adding the next text it remove the first text. Im using the code
if (![pastUrls containsObject:txtvwEmail.text]) {
[pastUrls addObject:txtvwEmail.text];
}
txtvwEmail.text?[array count]?