- (UIViewController*)findViewController
{
idtarget =self;
while(target) {
target = ((UIResponder*)target).nextResponder;
if ([target isKindOfClass:[UIViewController class]]) {
break;
}
}
return target;
}
- (UIViewController*)findViewController
{
idtarget =self;
while(target) {
target = ((UIResponder*)target).nextResponder;
if ([target isKindOfClass:[UIViewController class]]) {
break;
}
}
return target;
}