Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1777] systemButton: DISCLOSURE displays as INFO_DARK on Annotation.rightButton

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2014-02-04T05:55:45.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterManuel Lehner
AssigneeRitu Agrawal
Created2014-02-03T12:27:52.000+0000
Updated2016-03-08T07:40:40.000+0000

Description

I'm trying to use a disclosure system button as rightButton of an map Annotation: http://docs.appcelerator.com/titanium/latest/#!/api/Modules.Map.Annotation Here is my code:
var annotation = map.createAnnotation({
    latitude: lat,
    longitude: lng,
    title: "Test",
    image: '/images/pin_selected.png',
    rightButton: Ti.UI.iPhone.SystemButton.DISCLOSURE,
});
$.mapview.addAnnotation(annotation);
See attached images for result and expected.

Attachments

FileDateSize
expected.png2014-02-03T12:27:52.000+000080993
result.png2014-02-03T12:27:52.000+000060043

Comments

  1. Ritu Agrawal 2014-02-03

    The size and appearance of the disclosure button has changed in iOS 7. Please refer to the following link for more information. https://developer.apple.com/library/ios/documentation/userexperience/conceptual/TransitionGuide/Controls.html#//apple_ref/doc/uid/TP40013174-CH9-SW5
  2. Manuel Lehner 2014-02-03

    OK. Thanks for the hint. I was just wondering why DISCLOSURE and INFO_DARK appears to be the same in this case and there is no kind of systemButton for HAS_CHILD or something. I will go for a custom rightView. Ticket can be closed.

JSON Source