2012-09-11 6 views
3
내부 jQuery과 작동하지 않는

난 UIAlertView 을 상속하는 주문형 AlertView 클래스를 생성하고 제가 에 jQuery과 첨가 - (공극)이동향 AlertView

방법

This is Image of TableView inside UIAlertView with Potrait Orientation

This is when i Changed Orientation

준비

이 문제를 해결할 수있는 방법을 제안 해 드릴 수 있습니다 ... 감사합니다. https://github.com/blommegard/SBTableAlert/blob/master/SBTableAlert.m

그것은 방향 변경 로직 일정이 있습니다

난 방향 변경 제어를위한 좋은 아이디어

[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications]; 
    NSNotificationCenter* notifCenter = [NSNotificationCenter defaultCenter]; 
    [notifCenter addObserver:self 
        selector:@selector(orientationChanged) 
         name:UIDeviceOrientationDidChangeNotification 
         object:nil]; 
+0

Tableview에 대한 Autoresizing 속성을 제공하고 있습니까? – Sandy

답변

2

을 추적하기 위해 이런 짓을했는지, 나는 준비 하나와 Git 저장소를 발견 layout 0 간격으로 방향 변경 방법. 이 코드는 copy-free MIT 라이센스에 따라 배포되므로 사용하거나 유용한 팁을 얻을 수 있습니다.

+0

관심을 가져 주셔서 감사 드리며 나중에 다시 확인하겠습니다. – Anand