2017-09-21 13 views
1

업그레이드 iOS의 존재 방식, 내 PDF 리더 정지 작업 및 개체의 모든 속성을 호출 unrecognize 선택을위한 응용 프로그램 충돌을 호출 '인식 할 수없는 선택기 인스턴스에 보낸'iOS11 목표 - C의 문제는 <code>iOS11</code>에 사용자 정의 클래스

@interface PDFScrollView : UIScrollView <UIScrollViewDelegate> 
// Frame of the PDF 
@property (nonatomic) CGRect pageRect; 
// A low resolution image of the PDF page that is displayed until the TiledPDFView renders its content. 
@property (nonatomic, strong) UIView *backgroundImageView; 
// The TiledPDFView that is currently front most. 
@property (nonatomic, strong) TiledPDFView *tiledPDFView; 
// The old TiledPDFView that we draw on top of when the zooming stops. 
@property (nonatomic, strong) TiledPDFView *oldTiledPDFView; 
// Current PDF zoom scale. 
@property (nonatomic) CGFloat scale; 
@property (nonatomic) CGPDFPageRef PDFPage; 

-(void)replaceTiledPDFViewWithFrame:(CGRect)frame; 

@end 

나는 설정 규모 또는 PDFPage 또는 tiledPDFView 나 가려고합니다. 나는 그것을 어떻게 해결할 수, 나는 iOS11 버그라고 생각

@interface PDFScrollView : UIScrollView <UIScrollViewDelegate> 

    @property (nonatomic) CGRect pageRect; 
    @property (nonatomic, strong) UIView *backgroundImageView; 
    @property (nonatomic, strong) TiledPDFView *tiledPDFView; 
    @property (nonatomic, strong) TiledPDFView *oldTiledPDFView; 

?? :

-[PDFScrollView tiledPDFView]: unrecognized selector sent to instance 0x7fd3d28dbc00 
-[PDFScrollView tiledPDFView]: unrecognized selector sent to instance 0x7fd3d28dbc00 
(null) 

클래스의 몇 가지 세부 사항 :

은 내가 unrecognize 오류가 발생했습니다

+2

정확한 오류 메시지가 무엇 아이폰 OS (11)에 도입 된 PDFKit에 관련된 무언가를 할 수있다 생각하십니까? – Larme

+0

나는 내 질문을 업데이트했습니다. – ikanimo

답변

1

우리도 비슷한 문제가있었습니다.

-[PDFPasswordViewController setPdfURL:]: unrecognized selector sent to instance 0x101479240

당신이 믿지 않을 것이다, 그러나 우리는 "PDF"로 시작하지 않는 것이 우리의 클래스 이름을 변경했습니다 : 우리의 예외이 있었다.

예전에는 이었으며 접두사를 추가했습니다 (예 : XXPDFPasswordViewController). 그리고 이것은 바로 그 것이며, 지금은 이전처럼 작동합니다.

솔직히, 우리는이 원인을 모르는,하지만 우리는

+1

믿을 수 없습니다,이 문제도 내 문제를 해결했습니다! 감사합니다 !!! – ikanimo