Software Archive
Read-only legacy content
17061 Discussions

Emulator Differences from Actual App

Nick_F_2
New Contributor III
555 Views

HI

I have some buttons that render correctly on the emulator except for iPhone 5 where the buttons remain as a blue/white outlined button.

0 Kudos
2 Replies
Rakshith_K_Intel
Employee
555 Views

Looks like you are using appframework, it applies themes based on the os version, for iOS7 and higher you should see the blue/white outline.

If you want to fix the theme, then do the following:

$.afui.useOSThemes=false;

<div id="afui" class="ios"></div>

more information here: http://app-framework-software.intel.com/documentation.php#afui/afui_themes

 

0 Kudos
Nick_F_2
New Contributor III
555 Views

Thanks for your reply.

In the emulator the iPhone 3GS, 4S, 6 and 6 Plus all display the buttons are nicely rendered as per my theme.png image, but the iPhone 5 will only display the buttons as my no-theme image.

Once the applications is deployed to the device it renders correctly as per theme.png.

0 Kudos
Reply