Titanium JIRA Archive
Appcelerator Community (AC)

[AC-855] iOS app crashes during NavBar button event

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-09-29T01:54:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labels3.4.1, 3.5.0GA, button, crash, navbar
ReporterJae Lee
AssigneeShak Hossain
Created2015-02-15T04:46:32.000+0000
Updated2016-03-08T07:37:09.000+0000

Description

I've noticed an issue where an iOS app crashes when a NavBar button event called multiple times. The iOS app causing this issue has a custom button built into the NavBar. The NavBar button opens a modal window from the current view. When pressing the button multiple times, the app crashes. A workaround was by creating a hidden button object within the view where the crash was occurring. But this only works when building with Ti SDK 3.4.1.

Comments

  1. Shuo Liang 2015-02-16

    Hi, Please provide a test case to reproduce your problem. That will be really helpful to address your issue. Thanks. Here is the [Guide](http://docs.appcelerator.com/titanium/3.0/#!/guide/How_to_Submit_a_Bug_Report-section-29004732_HowtoSubmitaBugReport-CreatingaTestCase) for test case.
  2. Harish Mridha 2015-08-26

    Hi , I tested the issue you reported. It looks like the feature *"NavBar button event called multiple times on iOS apps"* in Appcelerator Studio is working fine for me. I tested this using the studio build: 4.1.1.201507141126 , iOS SDK: 8.1 and SDK 4.1.0 GA. I recommend you upgrade SDK to the latest build and let us know if you get the error again. I will mark this ticket as "resolved" since I can't reproduce it. However, feel free to reopen with additional information *(a test case)* if you notice otherwise. Thanks

JSON Source