Note that there are some explanatory texts on larger screens.

plurals
  1. PONavigation bar event issue
    primarykey
    data
    text
    <p>I have a navigation bar which have a custom button that button click event have a custom pop up menu, that have a table when i click a table row didselectrowatindexpath method not call.</p> <p>I am using this code please resolve this</p> <p><strong>Enter code here</strong></p> <pre><code>-(void)backButtonClicked1 {    // create and configure the view    CGRect cgRct = CGRectMake(220, 30, 93, 135); //define size and position of view        myView = [[UIView alloc] initWithFrame:cgRct];    myView.backgroundColor=[UIColor clearColor];    [myView setUserInteractionEnabled:YES];          UIButton *btnpop=[[UIButton alloc]initWithFrame:CGRectMake(0, 0, 93, 140)];     [btnpop setUserInteractionEnabled:YES];    [btnpop setImage:[UIImage imageNamed:@"popupbg@2x.png"] forState:UIControlStateNormal];    [myView addSubview:btnpop];        //[self.navigationController.navigationBar bringSubviewToFront:myView];  // [myView release];          table = [[UITableView alloc]initWithFrame:CGRectMake(1,20,90,114) style:UITableViewStylePlain];    [table setUserInteractionEnabled:YES];    table.backgroundColor = [UIColor clearColor];    table.separatorColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"popupline@2x.png"]];    table.scrollEnabled=NO;    table.layer.borderColor = [UIColor clearColor].CGColor;    table.layer.borderWidth=1.0;    table.layer.cornerRadius = 4;    [table setDataSource:self];    [table setDelegate:self];        [myView addSubview:table];    myView.autoresizesSubviews = YES;      //allow it to tweak size of elements in view        [self.navigationController.navigationBar addSubview:myView];    [self.navigationController.navigationBar bringSubviewToFront:table];      } </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.
    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