Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-10-05 19:34:12 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
67ed83344252fb456e71ddc67bfdf5a050610b19
67ed8334
1 parent
540b843e
fix nav bar bg
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/LoyaltyAnalysisViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/ViewControllerExtensions.swift
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
67ed833
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/LoyaltyAnalysisViewController.swift
View file @
67ed833
...
...
@@ -6,6 +6,7 @@
//
import
UIKit
import
SwiftEventBus
@objc
public
class
LoyaltyAnalysisViewController
:
UIViewController
{
...
...
SwiftWarplyFramework/SwiftWarplyFramework/ViewControllerExtensions.swift
View file @
67ed833
...
...
@@ -45,6 +45,7 @@ extension UIViewController {
self
.
navigationItem
.
title
=
""
// Add backgroundColor
if
#available(iOS 15, *)
{
let
navigationBarAppearance
=
UINavigationBarAppearance
()
navigationBarAppearance
.
configureWithDefaultBackground
()
navigationBarAppearance
.
backgroundColor
=
.
white
...
...
@@ -52,6 +53,11 @@ extension UIViewController {
navigationItem
.
standardAppearance
=
navigationBarAppearance
navigationItem
.
compactAppearance
=
navigationBarAppearance
navigationItem
.
scrollEdgeAppearance
=
navigationBarAppearance
}
else
{
navigationController
?
.
navigationBar
.
barTintColor
=
UIColor
.
white
navigationController
?
.
navigationBar
.
tintColor
=
UIColor
.
white
// navigationController?.navigationBar.isTranslucent = false
}
}
...
...
Please
register
or
login
to post a comment