1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    22
    Vote Rating
    1
    vipul30 is on a distinguished road

      1  

    Default Unanswered: Cupertino iOS 7 theme not working on native

    Unanswered: 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 - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,924
    Answers
    14
    Vote Rating
    63
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  3. #3
    Ext JS Premium Member oaugustus's Avatar
    Join Date
    May 2007
    Location
    Belo Horizonte, Brazil
    Posts
    66
    Vote Rating
    2
    oaugustus is on a distinguished road

      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.
    Otávio Augusto Rodrigues Fernandes
    Net On - Soluções Tecnológicas Ltda
    Desenvolvimento e Consultoria em ExtJS
    www.neton.com.br
    otavio@neton.com.br
    (31) 3075-7868

Thread Participants: 2