[TIMOB-26017] Titanium.UI.iOS.MenuPopup: Ability to change background color and text color
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | None |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2018-05-08T11:09:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Shuo Liang |
Assignee | Unknown |
Created | 2018-05-08T11:02:52.000+0000 |
Updated | 2018-08-06T17:52:05.000+0000 |
Description
Customer is looking for way to change background color and text color for controller Titanium.UI.iOS.MenuPopup.
For now, there is no properties to change those. So create this as new feature.
Please also advice any workaround to change them.
The native
UIMenuController
API behind theTi.UI.iOS.MenuPopup
does not include any styling options natively, so there is nothing we could expose there, see [this discussion](https://stackoverflow.com/a/5466818/5537752) for reference. And that is by design, because the API is meant to display a system menu people expect to have a certain style, although I would agree it would be good to have it customizable. As a workaround, you could create an own tooltip that can be positioned based on the x- and y- coordinates of the parent view.Closing as "not our bug". If you disagree, please reopen.