반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- IOS
- graphql
- subject
- @EnvironmentObject
- SWIFT
- dismiss
- init
- swift6
- SwiftUI
- RFC1738/1808
- Operators
- init?
- NullObject
- Bug
- nestjs
- vim
- @State
- NavigationLink
- nonisolated
- typeorm
- Operater
- Creating Operators
- RxSwift
- ios14
- @Environment
- @Binding
- URL(string:)
- Xcode
- operator
- RxCocoa
Archives
- Today
- Total
Tunko Development Diary
[iOS][swift]App version정보 가져오기 본문
var version: String? {
guard let dictionary = Bundle.main.infoDictionary,
let version = dictionary["CFBundleShortVersionString"] as? String,
let build = dictionary["CFBundleVersion"] as? String else {return nil}
let versionAndBuild: String = "vserion: \(version), build: \(build)"
return versionAndBuild
}
반응형
'Development > iOS 개발' 카테고리의 다른 글
# Xcode 에서 Vim 사용하기 [1] (0) | 2020.01.03 |
---|---|
ContainerView 에서 부모 클래스 접근방법 (0) | 2020.01.03 |
[iOS][swift] 앱스토어로 보내기 (0) | 2020.01.02 |
[iOS][swift] UITableView 화면에 보이는 Cell 새로고침 (0) | 2020.01.02 |
UISearchBar 테두리 없애는 방법 (0) | 2020.01.02 |
Comments