title: Remove dot from UITextField
body: <p>I create on application and i required to enter price. client required its own design keyboard so i develop following keyboard. it works perfect . Problem is when the text is larger then <code>UITextField</code>'s with then it display dots. I search on google and SO but not found any thing. <br>
     <a href="https://stackoverflow.com/questions/3287312/how-to-avoid-dots-next-to-a-uitextfield">how to avoid dots next to a uitextfield</a><br>
     <a href="https://stackoverflow.com/questions/12387703/how-to-remove-dots-in-uitextfield">How to remove dots in UITextfield?</a>   and other answer but not working in my case. <strong>When I used default keyboard it scroll the text what i input number</strong></p>
  
  <p>My key board is</p>
  
  <p><img src="https://i.stack.imgur.com/FyQZ6.png" alt="enter image description here"></p>
  
  <p>when length is greater then TextFied Width then it display </p>
  
  <p><img src="https://i.stack.imgur.com/0c7gA.png" alt="enter image description here"></p>
  
  <p>My code is</p>
  
  <pre><code>     - (IBAction)numberPressed:(id)sender {
           UIButton *btn=(UIButton *)sender;
           int number=btn.tag;
  
           if (number &lt;= 9)
               txtPrice.text = [NSString stringWithFormat:@"%@%d",txtPrice.text, number];
           //decimal point
           else if (number == 10) {
               if ([txtPrice.text rangeOfString:@"."].location == NSNotFound)
                   txtPrice.text = [NSString stringWithFormat:@"%@.", txtPrice.text];
            }
           //0
           else if (number == 11)
               txtPrice.text = [NSString stringWithFormat:@"%@0", txtPrice.text];
           //backspace
           else if (number == 12) {
               if ([txtPrice.text length] &gt; 0)
                   txtPrice.text = [txtPrice.text substringToIndex:[txtPrice.text length] - 1];
               else
                   txtPrice.text = @"";
           }
       }
  
  
     #pragma mark -
     #pragma mark -TextField Delegate Method
  
     -(BOOL)textFieldShouldBeginEditing:(UITextField *)textField {
         [self showKeyboard];
         return NO;  // Hide both keyboard and blinking cursor.
     }
  
     - (BOOL)textFieldShouldEndEditing:(UITextField *)textField
     {
         return YES;
     }
  </code></pre>