Skip to content
Hide Menu
  • 關於Max
  • 隱私權宣告

Max的程式語言筆記

我要當一個豬頭,認真過每一天、快樂過每一天就好

Menu
  • 首頁
  • Android
  • iOS
  • Python
  • Dropboxlike
  • WordPress
  • JSP
  • 電腦相關
  • 關於Max

標籤: Swift

[iOS] Is there a function to finish a UIviewcontroller like in android?

2018-01-262018-01-26

Not quite. In iOS land you have to more explicitly call view…

[iOS] How to detect when iOS app appears in foreground, with Swift?

2018-01-25

You can use the applicationDidBecomeActive(_:) method of you…

[iOS] Swift how to use NSTimer background?

2018-01-252018-01-26

使用 Timer 範例:     var backgroundTaskIdentifier: UIBackgroundT…

[iOS] How to get the current time as datetime in swift

2018-01-25

let date = Date() let calendar = Calendar.current let hour =…

[iOS] How to make a Global function in Swift

2018-01-25

You can create a custom class with the method you need like …

[iOS] Clearing UIWebView’s Cache in Swift

2018-01-25

URLCache.shared.removeAllCachedResponses() URLCache.shared.d…

[iOS] swift : use of %s in String(format: …)

2018-01-25

Apple 官方文件: https://developer.apple.com/library/content/docu…

[iOS] Dialog Box with Input using UIAlertController in Swift

2018-01-252018-01-26

在 dialog 裡增加 文字輸入框的範例: 基本款: //textの表示はalertのみ。ActionSheetだとt…

[iOS] UIImagePickerController Use Photo / Cancel button event

2018-01-25

服用下列的程式碼,可以取得拍照完的照片,還有使用者按下 cancel 事件。重點的部份加入紅字來區別。 class Vi…

[iOS] get MDM settings from system dictionary in swift

2018-01-242018-03-29

透過 iOS MDM 派送參數給 Device,範例程式如下: Develop an app that supports…

  • « 上一頁
  • 1
  • 2
  • 3
  • 4
  • 5
  • 下一頁 »
  • © 2022 Max的程式語言筆記
Skacero Theme by : icyNETS