[Interest] Qt/iOS subclassing and/or delegating

maitai maitai at virtual-winds.org
Wed May 27 20:07:00 CEST 2015


Hello all,

I've started to port on iOS and need to override some methods, like we 
do easily through Java on Qt/Android. I succeeded to implement an 
appDelegate in objective-C that works for some events like openURL and 
such, but for instance I also need to lock automatic screen rotation in 
some circumstances (but not always).

I read that I should somehow override "bool 
UINavigationController::shouldRotate()"

Should I reimp (subclass?) UINavigationController and how? Or is there a 
way to create a new delegate or even better to extend my current 
appDelegate?

I'm new to Objective-C as you can guess... Any clue would be really 
appreciated :)

Thanks
Philippe Lelong



More information about the Interest mailing list