How to put a check on Empty TextField?
<p>Str is empty i mean i enter nothing in TextFied even then it's going in else case
    NSString *Str= textField.text;
    NSLog(@"%@",Str);</p>

<pre><code>if([Str isEqualToString:@""])
{
   NSLog(@"Hi");

}
</code></pre>
