mise à niveau iOS
à iOS11
, mon lecteur PDF travail d'arrêt, et le crash d'application pour sélecteur unrecognize appeler tous les biens de l'objetiOS11 objectif-c question « sélecteur non reconnu envoyé à l'instance » appelant une méthode qui existe d'une classe personnalisée
@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
si je tente d'obtenir ou de définir ou échelle PDFPage
ou tiledPDFView
.
j'ai eu l'erreur unrecognize:
-[PDFScrollView tiledPDFView]: unrecognized selector sent to instance 0x7fd3d28dbc00
-[PDFScrollView tiledPDFView]: unrecognized selector sent to instance 0x7fd3d28dbc00
(null)
détail de la classe:
@interface PDFScrollView : UIScrollView <UIScrollViewDelegate>
@property (nonatomic) CGRect pageRect;
@property (nonatomic, strong) UIView *backgroundImageView;
@property (nonatomic, strong) TiledPDFView *tiledPDFView;
@property (nonatomic, strong) TiledPDFView *oldTiledPDFView;
Je pense est un bug iOS11
, comment puis-je résoudre ce problème ??
Quel est le message d'erreur exact? – Larme
J'ai mis à jour mes questions, merci – ikanimo