You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a UIScrollview within a UIView that has a button roughly halfway down. I have a FPPopover being presented from the button, but the problem is that when the button is tapped, the scrollview scrolls all the way to the top as the popover is presented. The button is now no longer visible and the popover is hanging in the middle of the screen where the button previously was. Has anyone else had this issue?
I have a UIScrollview within a UIView that has a button roughly halfway down. I have a FPPopover being presented from the button, but the problem is that when the button is tapped, the scrollview scrolls all the way to the top as the popover is presented. The button is now no longer visible and the popover is hanging in the middle of the screen where the button previously was. Has anyone else had this issue?
Here's how I'm presenting the popover.
(IBAction)audioLanguageButton:(UIButton*)sender {
NSArray *languagesArray = [[NSArray alloc]initWithObjects:@"English",@"Japanese",@"French", nil];
NSInteger currentselection = [languagesArray indexOfObject:sender.titleLabel.text];
PopoverTableViewViewController *pop = [[PopoverTableViewViewController alloc]initWithStyle:UITableViewStylePlain forArray:languagesArray andCurrentSelection:currentselection ofType:@"Language"];
pop.delegate = self;
pop.tableColor = [UIColor whiteColor];
pop.textColor = [UIColor colorWithRed:0.039 green:0.380 blue:0.980 alpha:1.000];
FPPopoverController *popover = [[FPPopoverController alloc]initWithViewController:pop];
[popover setArrowDirection:FPPopoverArrowDirectionRight];
popover.contentSize = CGSizeMake (150,150);
popover.alpha = 1.0;
];
}
The text was updated successfully, but these errors were encountered: