UITabBarController + UISpltiViewController

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • UITabBarController + UISpltiViewController

    Hi,
    ich habe einen UITabBarController und einen UISplitViewController. Damit das BarButtonItem auch gesetzt wird, wenn der SpliViewController nicht aktiv ist, habe ich im internet gefunden: objectiveseesharp.wordpress.co…tabbarcontroller-in-ios6/

    Unter iOS 6 geht das ganze auch gang gut nur unter iOS7 wird in der SplitViewController.m bei folgenden Code:

    Quellcode

    1. - (void)willAnimateRotationToInterfaceOrientation: (UIInterfaceOrientation)io
    2. duration: (NSTimeInterval)duration
    3. {
    4. [super willAnimateRotationToInterfaceOrientation: io duration: duration]; //Hier kommen die Fehler
    5. }


    Folgende Errors erzeugt:
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSetFillColorWithColor: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSetStrokeColorWithColor: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextGetCompositeOperation: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSetCompositeOperation: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextFillRects: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSetCompositeOperation: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSaveGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSetCompositeOperation: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextFillRects: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextRestoreGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSaveGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSetCompositeOperation: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextFillRects: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextRestoreGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSaveGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSetCompositeOperation: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextFillRects: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextRestoreGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSaveGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextSetCompositeOperation: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextFillRects: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    Jan 24 15:02:31 iPad-von-Nils iCrip[6603] <Error>: CGContextRestoreGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
    (lldb)


    Das UIBarButtonItem ist weiterhin auch unter der Navigationbar Warum? Woran liegt das und wie behebe ich das? Das ging doch mit iOS 6 gut.

    Viele Grüße
    Nils
  • Der zitierte Code nutzt anscheinend spezielle Features der iOS6-Implementierung aus, weswegen es nicht zwangsläufig auch unter iOS7 funktionieren muss. Die Meldung invalid context 0x0 deutet in der Regel darauf hin, dass UIKit-Funktionen oder -Methoden aus einem Neben-Thread aufgerufen werden.
    „Meine Komplikation hatte eine Komplikation.“