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
Vasilis
2022-05-05 10:47:49 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
98d604956111173071352e5660755132da4f284a
98d60495
1 parent
77d27f5f
minor fixes
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
5 deletions
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcodeproj/project.pbxproj
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/CouponsViewController.swift
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcodeproj/project.pbxproj
View file @
98d6049
...
...
@@ -1001,7 +1001,7 @@
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 1
3
.0;
IPHONEOS_DEPLOYMENT_TARGET = 1
1
.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
...
...
@@ -1037,7 +1037,7 @@
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 1
3
.0;
IPHONEOS_DEPLOYMENT_TARGET = 1
1
.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
...
...
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
View file @
98d6049
No preview for this file type
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/CouponsViewController.swift
View file @
98d6049
...
...
@@ -11,9 +11,23 @@ import UIKit
@objc
public
class
CouponsViewController
:
UIViewController
{
public
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
self
.
navigationController
?
.
navigationBar
.
topItem
?
.
title
=
""
// self.navigationController?.navigationBar.topItem?.title = ""
//
// self.navigationController?.navigationBar.backIndicatorImage = UIImage(contentsOfFile: "ic_back")
// self.navigationController?.navigationBar.backIndicatorTransitionMaskImage = UIImage(contentsOfFile: "ic_back")
let
backButton
=
UIButton
(
type
:
UIButton
.
ButtonType
.
custom
)
as
UIButton
backButton
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
40
,
height
:
25
)
backButton
.
imageView
!.
contentMode
=
.
scaleAspectFit
backButton
.
setImage
(
UIImage
(
named
:
"ic_back"
),
for
:
.
normal
)
backButton
.
imageEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
-
20
,
bottom
:
0
,
right
:
0
)
backButton
.
addTarget
(
self
,
action
:
#selector(
moveToBack(_:)
)
,
for
:
.
touchUpInside
)
self
.
navigationController
?
.
navigationBar
.
backIndicatorImage
=
UIImage
(
contentsOfFile
:
"ic_back"
)
self
.
navigationController
?
.
navigationBar
.
backIndicatorTransitionMaskImage
=
UIImage
(
contentsOfFile
:
"ic_back"
)
let
leftBarButtonItem
:
UIBarButtonItem
=
UIBarButtonItem
(
customView
:
backButton
)
self
.
navigationController
?
.
navigationItem
.
setLeftBarButton
(
leftBarButtonItem
,
animated
:
false
)
self
.
navigationController
?
.
navigationItem
.
title
=
""
}
@objc
func
moveToBack
(
_
sender
:
UIButton
){
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
}
...
...
Please
register
or
login
to post a comment