Note that there are some explanatory texts on larger screens.

plurals
  1. POMove keyboard up on editing uitextfield
    primarykey
    data
    text
    <p>I have an <code>UITextField</code> at the top of the <code>UIScrollView</code> while on editing I can't see the keyboard. How to do that? </p> <p>Help me out with this, thanks in advance.</p> <pre><code>-(void)viewdidload{ txtsearch =[[UITextField alloc]init]; [txtsearch setFrame:CGRectMake(410, 35,250, 30)]; [txtsearch setBorderStyle:UITextBorderStyleRoundedRect]; txtsearch.placeholder = @"Enter Company/Provider Name"; txtsearch.text=[NSString stringWithFormat:@"%@",appDelegate.searchFieldName]; txtsearch.autocorrectionType = UITextAutocorrectionTypeNo; txtsearch.font = [UIFont fontWithName:@"Helvetica" size:14]; txtsearch.delegate=self; txtsearch.clearButtonMode = UITextFieldViewModeWhileEditing; [testscroll addSubview:txtsearch]; btnSearch = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [btnSearch addTarget:self action:@selector(showResults:) forControlEvents:UIControlEventTouchDown]; [btnSearch setBackgroundImage:[UIImage imageNamed:@"search_button_hover.png"] forState:UIControlStateNormal]; btnSearch.frame = CGRectMake(510, 80, 75, 35.0); [testscroll addSubview:btnSearch]; if(self.tableView) [self.tableView removeFromSuperview]; self.tableView=[[UITableView alloc] initWithFrame:CGRectMake(0,210,730,[arr count]*160) style:UITableViewStylePlain]; self.tableView.delegate=self; self.tableView.dataSource=self; self.tableView.scrollEnabled = NO; [testscroll addSubview:self.tableView]; [self.tableView reloadData]; self.tableView.frame = CGRectMake(self.tableView.frame.origin.x, self.tableView.frame.origin.y, self.tableView.frame.size.width, self.tableView.contentSize.height); float ftbl = self.tableView.frame.origin.y + self.tableView.contentSize.height + 30; testscroll.contentSize=CGSizeMake(768, ftbl); testscroll.scrollEnabled=YES; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload