Results 1 to 3 of 3

Thread: Cupertino iOS 7 theme not working on native

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    22
    Vote Rating
    1
      1  

    Default Cupertino iOS 7 theme not working on native

    Hi. I changed the theme to Cupertino using Architect 3. When I build the app using the command sencha app build native, the Cupertino theme doesn't appear on my iPhone. It's still the default theme. It works fine in Chrome. Do I need to manually copy the css files somewhere or do something special in Architect?

  2. #2
    Sencha User Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Answers
    15
    Vote Rating
    65
      0  
    Phil Strong
    @philstrong

  3. #3
    Ext JS Premium Member oaugustus's Avatar
    Join Date
    May 2007
    Location
    Belo Horizonte, Brazil
    Posts
    66
    Vote Rating
    4
      1  

    Default

    Hi,

    I have the same problem in MountainView, but I solve it so:

    1. In app.json:
    Change it:
    PHP Code:
    {
                
    "path""resources/css/app.css",
                
    "update""delta"
            

    To:
    PHP Code:
    {
            
    "path""touch/resources/css/mountainview.css",
            
    "update""full"
            

    2. In index.html at cordova/www:
    Add:

    PHP Code:
    Ext.theme = {
            
    name"MountainView"
        
    }; 
    After:

    PHP Code:
    if (typeof Ext == 'undefined') {
            global.
    Ext Ext = {};
        } 
    This works, but I believe it is a palliative solution.
    Otvio Augusto Rodrigues Fernandes
    Net On - Solues Tecnolgicas Ltda
    Desenvolvimento e Consultoria em ExtJS
    www.neton.com.br
    otavio@neton.com.br
    (31) 3075-7868

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •