Current View get subview
현재 떠있는 self.view 의 subview 가져오기
NSArray *subviews = [self.view subviews];
// Return if there are no subviews
if ([subviews count] == 0) return;
for (UIView *subview in subviews) {
NSLog(@"subview %@", subview);
}
반응형
그리드형
'IT > iOS' 카테고리의 다른 글
문자열에서 숫자만 추출하기 (0) | 2014.08.04 |
---|---|
json 데이터에서 key, object 추출하기 (0) | 2014.08.01 |
NSMutableArray shuffle (배열 랜덤으로 섞기) (0) | 2014.07.23 |
tableview sectionheader 고정 막기 (0) | 2014.07.22 |
64bit에서 컴파일시 objc_msgsend error (0) | 2014.05.15 |
[[NSUserDefaults standardUserDefaults] dictionaryRepresentation].allKeys (0) | 2014.03.04 |
iOS random integer (0) | 2014.02.05 |
iOS 7 UI Difference between Simulator and real Device (0) | 2014.02.05 |