This is a migrated thread and some comments may be shown as answers.

ui navigation buton click iisue in ios

1 Answer 28 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kiran
Top achievements
Rank 1
Kiran asked on 12 Jul 2016, 12:18 PM
Hi,

when clicking on a button, i am adding a component in the page :

var greeter = builder.load({
        path: 'views/file',
        name: 'pieChart'
    });
    container.addChild(greeter);

on the component page i am adding  "<StackLayout  
  xmlns:chart="nativescript-telerik-ui-pro/chart"
  xmlns:Slides="nativescript-slides"
  loaded="onLoad">"

<StackLayout>

the logic is written in onLoad.The code is working fine in android but is having showing error when deploying to ios.

 

2016-07-11 20:09:19.384 BossAppDemo[6727:2111331] -[NSNull x]: unrecognized selector sent to instance 0x3b527310
2016-07-11 20:09:19.431 BossAppDemo[6727:2111331] *** JavaScript call stack:
(
0   UIApplicationMain@[native code]
1   start@file:///app/tns_modules/application/application.js:233:26
2   @file:///app/app.js:18:30
3   promiseReactionJob@:1:11
)
2016-07-11 20:09:19.432 BossAppDemo[6727:2111331] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull x]: unrecognized selector sent to instance 0x3b527310'
*** First throw call stack:
(0x24cef91b 0x2448ae17 0x24cf52b5 0x24cf2ee1 0x24c1e238 0xb62077 0xbcae47 0xb8aed7 0xb6116f 0xbc8ba1 0xb625c3 0xbc8e29 0x27316101 0x27409771 0x273154d1 0x272f9561 0x272f9221 0x272f86e1 0x272f83b5 0x29267851 0x24cb1dff 0x24cb19ed 0x24cafd5b 0x24bff229 0x24bff015 0x261efac9 0x292d1189 0x91702c 0x913959 0x5034b7 0x7510ab 0x74ee61 0x756c7d 0x756c89 0x756c89 0x751ab1 0x7112d5 0x6fa241 0x7f4143 0x844ab9 0x508f0b 0x53b15b 0x710a1 0x248a7873)
libc++abi.dylib: terminating with uncaught exception of type NSException

1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 12 Jul 2016, 01:12 PM
Hello Kiran,

The answer to this issue is logged in thread #1049825 so I am closing this ticket as duplicate.

Regards,
Nikolay Iliev
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chart
Asked by
Kiran
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or