Contents

Views 20215 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

UIView에서 상위에 있는 UIViewController 찾아오기


// 상위 뷰 중에 원하는 뷰컨트롤러 얻어오는 거임.
- (UIViewController*)getHomeViewController {
    for (UIView* next = [self.view superview]; next; next = next.superview) {
        UIResponder* nextResponder = [next nextResponder];
        if ([nextResponder isKindOfClass:[HoppinHomeViewController class]]) {
            return (UIViewController*)nextResponder;
        }
    }
    return nil;
}


?

  1. [ios] 앱에서 다른 앱 실행시키기

  2. [ios] libxml/tree.h file not found

  3. [ios] Objective-C에서 형식이 있는 문자열(Format Strings)에 사용할 수 있는 토큰들(Tokens)

  4. URI 인코딩, URL 인코딩

  5. 모터에 대한 pid 제어.. ㅎㅎ

  6. [js]모바일 웹에서 orientationchange

  7. [php] XE 에서 php 구문 사용하기 (XE 템플릿에서)

  8. [c] AES 알고리즘 (암호화/복호화)

  9. [c] UTF-8을 EUC-KR로 변환.. (iconv)

  10. [ios] UIView에서 상위 UIViewController 가져오기

  11. [php] substr() 한글 자를 때 깨짐 방지

  12. [android] [번역] 안드로이드 Android Cloud to Device Messaging(C2DM)

Board Pagination Prev 1 ... 56 57 58 59 60 61 62 63 64 65 ... 71 Next
/ 71