Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] Instance of UIView on iOS
patrikd last edited by JKSH
does anyone no if the UIView which I get with:
QWindowList list = QGuiApplication::allWindows();
UIView *view = static_cast<UIView *>( QGuiApplication::platformNativeInterface()->nativeResourceForWindow("uiview", list.at(0)) );
is in a way different than the UIView native Objective-c code expects? Its a valid object but when
I pass it to a an iOS function as the view paramter I get an exception telling me "unrecoginzed selector".
Does anyone know whats wrong?
Can you show the code you are using for that ?
patrikd last edited by
found the reason for that. The handler was ok, it was an other parameter i was passing to an ios call which made me believe that this handler was wrong.