2012年5月22日 星期二

iOSskills view hierarchy

//Recurive Message to find view hierarchy
-(void)findSuperView:(id)theView
{
    if ([theView superview] != nil) {
        NSLog(@"%@" , [[theView superview] class]);
        [self findSuperView:[theView superview]];
    }
   
}


沒有留言:

張貼留言