Total(349)
-
[ iOS] 제작한 벨소리 삭제 방법
아이폰에서 garageBand를 이용하여 벨소리는 만들었지만 지울수가 없었다. garabeBand 내에서 삭제할 수 있다고는 하는데, 그것은 어디까지나 garabeBand에서 만들었을 경우에만 해당 될 것으로 생각된다. 아이폰내에서는 삭제할 수가 없었으나 아래와 같은 방법으로 삭제 할 수 있었다. 1. iFunBox 다운로드(http://www.i-funbox.com/en_download.html) 및 설치 2. 아이폰과 연결 3. Raw File System > Purchases 4. Ringtones.plist 를 열어 각 리스트를 펼쳐보면, 자신이 만든 벨소리를 확인 할 수 있다. 5. 위 해당 목록과 파일명을 삭제해주면 된다.
2019.09.20 -
[Swift] opacity
UIView를 반투명하려면 opacity를 사용한다.let background = UIView()background.layer.backgroundColor = UIColor.black.cgColorbackground.layer.opacity = 0.5 하지만 이 뷰안에 다른 레이블이 포함되었을 경우, 포함된 레이블도 같이 투명하게 되는 경우가 있다.let background = UIView()background.layer.backgroundColor = UIColor.black.cgColorbackground.layer.opacity = 0.5let title = UILabel()backgroud.addSubview(title) 이럴 경우 이렇게 해보자let background = UIView()back..
2019.03.22 -
[Swift] UserDefaults.standard int형식으로 불러오기
// 저장할때는 동일하다. UserDefaults.standard.set(5, forKey:"num") // 불러올 때 UserDefaults.standard.integer(forKey: "num")
2019.02.18 -
[Swift] UILabel 에 글자별로 크기,색깔 변경
let taskText = "All Tasks (task)" let attributed = NSMutableAttributedString(string: taskText) let strokeTextAttributes = [ // NSAttributedString.Key.strokeColor : UIColor.black, NSAttributedString.Key.foregroundColor : UIColor.black, // NSAttributedString.Key.strokeWidth : 2.0, NSAttributedString.Key.font : UIFont.boldSystemFont(ofSize: 18) ] as [NSAttributedString.Key : Any] attributed.addAttr..
2019.02.12 -
[Swift] navigation 백그라운드 색 변경
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. UINavigationBar.appearance().barTintColor = UIColor.white//.init(red: 23.0/255, green: 197.0/255, blue: 157.0/255, alpha: 1.0) // To change colour of tappable items. UINavigationBar.appearance()..
2019.02.11 -
[Swift] navigation bar 구분선 제거
override func viewDidLoad() { super.viewDidLoad() self.navigationController?.navigationBar.setBackgroundImage(UIImage(), for: UIBarMetrics.default) self.navigationController?.navigationBar.shadowImage = UIImage()}
2019.02.11