I am trying to create a transparent button in an application for iPhone - to create an Easter egg. How can I set up a transparent button without touching the alpha (when alpha = 0.0 on UIButton, it no longer responds to touch)?
Thank.:)
You can set alpha to a very small value.
Or you can create a clean, clean UIImage and use a custom button style and set it to the button image.
Set the type of your button to UIButtonTypeCustom and it will not have a style. (thus, it must be "invisible").
var btnTest = Ti.UI.createButton({ backgroundImage: 'sample.png', height: 24, width: 20, top: 10, left:10 });
Source: https://habr.com/ru/post/1732117/More articles:How to force one method in WCF Rest to be called via https, while others can be called via http - wcfHibernate using another object - javaC # Attempting to read or write protected memory - c #регулярное выражение для соответствия определенному тексту не связанному - javascriptесть ли какой-нибудь графический процессор с vim, подобный keybinding? - vimA readable font that is web safe - cssFastest way to convert 16.16 fixed point to 32-bit float in c / C ++ on x86? - c ++Cannot get click () function to work with jQuery - jqueryjQuery + jQuery Form Submit Plugin + jQuery Validation Plugin - jqueryposition.hh: 46: error: expected unqualified-id before 'namespace - c ++All Articles