Skip to content

Commit

Permalink
fix/#182 bundle 숨김처리
Browse files Browse the repository at this point in the history
  • Loading branch information
hooni0918 committed Jul 15, 2024
1 parent 5fc6cb0 commit 48b854b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
4 changes: 3 additions & 1 deletion KkuMulKum/Resource/KeyChain/KeychainService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ class DefaultKeychainService: KeychainService {
static let refreshToken = "refreshToken"
}

init(serviceName: String = Bundle.main.bundleIdentifier ?? "KkuMulKum.yizihn") {
init() {
let serviceName = Bundle.main.privacyInfo?["ServiceName"] as? String ?? Bundle.main.bundleIdentifier ?? "DefaultServiceName"
self.keychain = KeychainWrapper(serviceName: serviceName)
print("Keychain initialized with service name: \(serviceName)")
}

var accessToken: String? {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,22 @@ class LoginViewController: BaseViewController {
override func setupAction() {
super.setupAction()

let appleTapGesture = UITapGestureRecognizer(target: self, action: #selector(appleLoginTapped))
loginView.appleLoginImageView.addGestureRecognizer(appleTapGesture)
let appleTapGesture = UITapGestureRecognizer(
target: self,
action: #selector(
appleLoginTapped
)
)
loginView.appleLoginImageView.addGestureRecognizer(
appleTapGesture
)

let kakaoTapGesture = UITapGestureRecognizer(target: self, action: #selector(kakaoLoginTapped))
let kakaoTapGesture = UITapGestureRecognizer(
target: self,
action: #selector(
kakaoLoginTapped
)
)
loginView.kakaoLoginImageView.addGestureRecognizer(kakaoTapGesture)

loginView.dummyNextButton.addTarget(
Expand Down

0 comments on commit 48b854b

Please sign in to comment.