Beyond Plain Old HTML Objects
iOS style buttons in Flex 4.5 mobile applications
Ever wondered how you can make Flex 4.5 ActionBar buttons look like native buttons on iOS? This is actually very simple to achieve, what you need are just a few lines of CSS code. Checkout the snippet below:
As you can see in the code above I also used CSS media queries to have the proper style and skin class applied only when running on iOS devices. Below you can see the end result:
The code that implements the view above is as simple as this:
本文介绍了如何通过简单的CSS代码使Flex 4.5中的ActionBar按钮呈现iOS设备上的原生样式,并提供了实现示例。
2097

被折叠的 条评论
为什么被折叠?



