Detailed map traversal, teach you to master the complex gremlin query debugging method>>>
0x00 a log warning ⚠️
presenting view controllers on detached view controllers is discovered
rendering view controllers on detached view controllers is not encouraged
in this paper
The scene of the accident
Add View
of controller B
to View
of controller a
handle a video playback event in controller B
use avplayerviewcontroller
result after playback, can’t Close
Check the console and find a message from the system:
presenting view controllers on detached view controllers is discovered
full face ❓❓
0x02 parent controller
After flipping through stack overflow
we found such a key code:
[self.parentviewcontroller presentviewc ontroller:viewController animated :YES c ompletion:nil ];
Quickly change self
to self. Parentviewcontroller
Oh, fire 🔥
no ~
no
Before adding View
of controller B
,
did not add controller B
to controller a
first 😓
Verification code input box
https://github.com/xjh093/JHVerifyCodeView
Five strokes learning, so simple
Similar Posts:
- [Solved] Segues initiated directly from view controllers must have an identifier
- ReactJS React createElement error type is invalid — expected a string …
- whose view is not in the window hierarchy!
- Block Wild Pointer crash: Thread 1:EXC_BAD_ACCESS(code=1,address=0x10)
- The endpoint reference (EPR) for the operation not found possible problems and Solutions
- Opencv learning notes 05 face detection and recognition attributeerror: module ‘CV2’ has no attribute ‘face’
- Angular1.6 “Possibly unhandled rejection” error
- loaded some nib but the view outlet was not set
- Docker Django: underlying buffer has been detached [How to Solve]
- [Solved] pyqt5 ‘QWidget’ object has no attribute ‘setCentralWidget’