SIGABRT in iOS5

Hello,

 

I have a problem with the iOS 5 Dolphin App.

I added several views to the app and delegate between them by e.g.

Dolphin6AppDelegate *app = [Dolphin6AppDelegate getApp];
    app.tabController.selectedViewController = app.homeNavigationController;

There is no problem with iOS4.3 but when I run the app on a iOS 5 Simulator or device

I always get a SIGABRT error at this point.

Debugger show an NSException:

 

int retVal =UIApplicationMain(argc, argv,nil,nil); SIGABRT

objc
[3441]: EXCEPTIONS: throwing 0x7d626b0(object0x7d1e750, a NSException)
objc
[3441]: EXCEPTIONS: searching through frame [ip=0xe99ee sp=0xbfffdee0]for exception 0x7d62690
objc
[3441]: EXCEPTIONS:catch(id)
objc
[3441]: EXCEPTIONS: unwinding through frame [ip=0xe99ee sp=0xbfffdee0]for exception 0x7d62690
objc
[3441]: EXCEPTIONS: handling exception 0x7d62690 at 0xe9bac
objc
[3441]: EXCEPTIONS: finishing handler
objc
[3441]: EXCEPTIONS: throwing 0x7d5cd30(object0x7d1e750, a NSException)
objc
[3441]: EXCEPTIONS: searching through frame [ip=0xe9b9c sp=0xbfffdee0]for exception 0x7d5cd10
objc
[3441]: EXCEPTIONS: searching through frame [ip=0x1a02db3 sp=0xbfffec20]for exception 0x7d5cd10
objc
[3441]: EXCEPTIONS: unwinding through frame [ip=0xe9b9c sp=0xbfffdee0]for exception 0x7d5cd10
objc
[3441]: EXCEPTIONS: unwinding through frame [ip=0x1a02db3 sp=0xbfffec20]for exception 0x7d5cd10
objc
[3441]: EXCEPTIONS: handling exception 0x7d5cd10 at 0x1a02e46
objc
[3441]: EXCEPTIONS: rethrowing current exception
objc
[3441]: EXCEPTIONS: searching through frame [ip=0x1a02e0f sp=0xbfffec20]for exception 0x7d5cd10
objc
[3441]: EXCEPTIONS: unwinding through frame [ip=0x1a02e0f sp=0xbfffec20]for exception 0x7d5cd10
objc
[3441]: EXCEPTIONS: finishing handler
objc
[3441]: EXCEPTIONS: unwinding through frame [ip=0x1a02e38 sp=0xbfffec20]for exception 0x7d5cd10

Does anyone have a clue why this happens?

Thanks in advance.

Quote · 28 Jun 2012

It maybe that your app.homeNavigationController is not in the view controllers array of the UITabBarController

Property selectedViewController can be set to consolers in this array only.

Rules → http://www.boonex.com/terms
Quote · 28 Jun 2012

 

It maybe that your app.homeNavigationController is not in the view controllers array of the UITabBarController

Property selectedViewController can be set to consolers in this array only.

 How can that be if it works in 4.3?

Quote · 28 Jun 2012

 

 

It maybe that your app.homeNavigationController is not in the view controllers array of the UITabBarController

Property selectedViewController can be set to consolers in this array only.

 How can that be if it works in 4.3?

It's better to ask Apple.

It is just suggestion, you can try it if it works.

Rules → http://www.boonex.com/terms
Quote · 30 Jun 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.