XCODE cambiar color de Navigation Bar con Switf



        
In AppDelegate.swift write the following.
Escribe lo siguiente en el archivo AppDelegate.swift.

UINavigationBar.appearance().barTintColor = UIColor.orangeColor()

Comentarios

  1. Buenas tengo un error y no se como solucionarlo espero que me ayuden. un saludo

    (1/1) ContextErrorException

    Notice: Use of undefined constant DS - assumed 'DS'
    in core.php line 38
    at TSPBshopCore->__construct()in tspbshoptheme.php line 48
    at TSPBshopTheme->__construct()
    at ReflectionClass->newInstance()in Container.php line 127
    at Container->makeInstanceFromClassName('tspbshoptheme', array('tspbshoptheme' => true))in Container.php line 160
    at Container->doMake('tspbshoptheme', array())in Container.php line 173
    at Container->make('tspbshoptheme')in ServiceLocator.php line 60
    at ServiceLocator::get('tspbshoptheme')in Module.php line 1091
    at ModuleCore::coreLoadModule('tspbshoptheme')in Module.php line 1071
    at ModuleCore::getInstanceByName('tspbshoptheme')in Hook.php line 837
    at HookCore::exec('displayHeader')in FrontController.php line 552
    at FrontControllerCore->initContent()in SupplierController.php line 76
    at SupplierControllerCore->initContent()in Controller.php line 255
    at ControllerCore->run()in Dispatcher.php line 428
    at DispatcherCore->dispatch()in index.php line 28

    ResponderBorrar

Publicar un comentario

Entradas más populares de este blog

(SOLUCIONADO) Prestashop 1.7 Notice: Undefined index: notifications