equal
deleted
inserted
replaced
203 -(void) removeOverlay { |
203 -(void) removeOverlay { |
204 [self.popupMenu performSelectorOnMainThread:@selector(dismiss) withObject:nil waitUntilDone:YES]; |
204 [self.popupMenu performSelectorOnMainThread:@selector(dismiss) withObject:nil waitUntilDone:YES]; |
205 [self.popoverController performSelectorOnMainThread:@selector(dismissPopoverAnimated:) withObject:nil waitUntilDone:YES]; |
205 [self.popoverController performSelectorOnMainThread:@selector(dismissPopoverAnimated:) withObject:nil waitUntilDone:YES]; |
206 [self.view performSelectorOnMainThread:@selector(removeFromSuperview) withObject:nil waitUntilDone:YES]; |
206 [self.view performSelectorOnMainThread:@selector(removeFromSuperview) withObject:nil waitUntilDone:YES]; |
207 [self performSelectorOnMainThread:@selector(release) withObject:nil waitUntilDone:YES]; |
207 [self performSelectorOnMainThread:@selector(release) withObject:nil waitUntilDone:YES]; |
|
208 mainOverlay = nil; |
208 } |
209 } |
209 |
210 |
210 #pragma mark - |
211 #pragma mark - |
211 #pragma mark overlay user interaction |
212 #pragma mark overlay user interaction |
212 // dim the overlay when there's no more input for a certain amount of time |
213 // dim the overlay when there's no more input for a certain amount of time |