Open XEnmaai opened 11 years ago
Could you please send a repro for this? I can't reproduce it.
Actually this seems to be happening in iOS7 on the sample app.
hi:
i use the sample app on iPad simulator/ios 6.1(10B141)...
xjtoooo
From: Eduardo Scoz Date: 2013-09-12 05:49 To: escoz/QuickDialog CC: Enmaai Subject: Re: [QuickDialog] maybe QRadioElement has a bug---> the poperview offset error (#544) Could you please send a repro for this? I can't reproduce it. — Reply to this email directly or view it on GitHub.
This is what worked for me, modifying QuickDialogController+Navigation.h
(void)displayViewControllerInPopover:(UIViewController *)newController withNavigation:(BOOL)navigation {
CGRect frame = [self.quickDialogTableView rectForRowAtIndexPath:self.quickDialogTableView.indexPathForSelectedRow];
[self displayViewControllerInPopover:newController withNavigation:navigation fromRect:CGRectMake(frame.origin.x, (frame.origin.y), frame.size.width, frame.size.height)]; }
yOffset does not seem to be needed.
I can confirm this fixes the issue.
@escoz can you add this fix for a new release?
i create many QradioElement .when i scroll the view . error as the picture in attach;
the method -(void)displayViewControllerInPopover
seems has error
i change the Popover's CGRectMake and solve the problem
bug i do not sure。