- May 29 Tue 2018 13:36
-
iOS - NShopper (任天堂Switch商城特價遊戲查詢)
- Dec 23 Sat 2017 16:27
-
iOS - Bitcoin Miner (iOS比特幣挖礦程式)
- Dec 06 Tue 2016 00:41
-
iOS - Electronic Music Radio (免費電子音樂, 線上廣播)
- Dec 06 Tue 2016 00:35
-
iOS - Music Addict Radio (免費音樂, 完整曲風, 線上廣播)
- Jun 05 Sun 2016 20:47
-
iOS - 後搖滾廣播電App(PostRock)
- May 29 Sun 2016 23:56
-
iOS - 調音器App(ThePitchPerfect)
- Jan 31 Sun 2016 00:01
-
iOS - FlashSticker(閃亮貼紙)
最近與朋友組了團隊一起開發app, 顯然我們不是走殺手級應用,
隨著生活激發些創意開發點小app為我們目前的宗旨,
於是這隻FlashSticker就這樣誕生了,
而我們小團隊的網址如下, 若有意見回饋我們將會非常開心且感激的。
隨著生活激發些創意開發點小app為我們目前的宗旨,
於是這隻FlashSticker就這樣誕生了,
而我們小團隊的網址如下, 若有意見回饋我們將會非常開心且感激的。
- Sep 21 Mon 2015 11:02
-
iOS - 節拍器App(TikTok節拍器 - Metronome)
作者第一隻音樂輔助app已在AppStore上架囉,
希望大家能夠留言或個評分替作者打打氣,
若有建議也歡迎留言給作者,讓我能繼續改進此程式提高用戶體驗。
下載位址如下:
https://itunes.apple.com/tw/app/tiktok-metronome/i...
--
My first app is now available on AppStore,
If you have any suggestion on my app,
Please write your comment to me that make me improve this app,
or give me rating on AppStore. Thank you for any comment in advance.
download this app as below:
https://itunes.apple.com/us/app/tiktok-metronome/i...
希望大家能夠留言或個評分替作者打打氣,
若有建議也歡迎留言給作者,讓我能繼續改進此程式提高用戶體驗。
下載位址如下:
https://itunes.apple.com/tw/app/tiktok-metronome/i...
--
My first app is now available on AppStore,
If you have any suggestion on my app,
Please write your comment to me that make me improve this app,
or give me rating on AppStore. Thank you for any comment in advance.
download this app as below:
https://itunes.apple.com/us/app/tiktok-metronome/i...
- Aug 28 Sun 2016 23:54
-
iOS(Swift) - 播放影片
此篇文播放影片之範例程式, 在storyBoard須先行設定一Button
並與AVPlayerViewController建立關聯性, 並選擇Kind為Present Modaily
程式碼如下:
並與AVPlayerViewController建立關聯性, 並選擇Kind為Present Modaily
程式碼如下:
- Aug 28 Sun 2016 23:30
-
iOS(Swift) - 播放音樂
此專案為播放音樂之程式, 使用一個label顯示歌曲長度, slider可調整歌曲進度, 最後點擊Btn播放音樂以及停止
import UIKit
import AVFoundation
class ViewController: UIViewController {
@IBOutlet weak var playMusicButtom: UIButton!
@IBOutlet weak var mySlider: UISlider!
@IBOutlet weak var progressTimeLabel: UILabel!
var myPlayer = AVAudioPlayer()
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
let filePath = NSBundle.mainBundle().pathForResource("ur music in project", ofType: "mp3")
do
{
myPlayer = try AVAudioPlayer(contentsOfURL: NSURL(fileURLWithPath: filePath!))
try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryAmbient)
try AVAudioSession.sharedInstance().setActive(true)
}
catch
{
print("error")
}
NSTimer.scheduledTimerWithTimeInterval(1.0, target: self, selector: #selector(self.playingProgress), userInfo: nil, repeats: true) //每秒更新slider
mySlider.maximumValue = Float(myPlayer.duration) //取得歌曲總長度
}
func playingProgress() //顯示歌曲長度
{
progressTimeLabel.text = String(format: "%.0f/%.0f", myPlayer.currentTime, myPlayer.duration)
mySlider.value = Float(myPlayer.currentTime)
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBAction func playMusicButtom(sender: AnyObject) //檢查playBtn之狀態
{
if myPlayer.playing == false
{
myPlayer.play()
playMusicButtom.setTitle("pause", forState: .Normal)
}else{
myPlayer.pause()
playMusicButtom.setTitle("play", forState: .Normal)
}
}
@IBAction func mySlider(sender: AnyObject) //調整slider移動歌曲進度
{
myPlayer.currentTime = Double(mySlider.value)
}
}
import UIKit
import AVFoundation
class ViewController: UIViewController {
@IBOutlet weak var playMusicButtom: UIButton!
@IBOutlet weak var mySlider: UISlider!
@IBOutlet weak var progressTimeLabel: UILabel!
var myPlayer = AVAudioPlayer()
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
let filePath = NSBundle.mainBundle().pathForResource("ur music in project", ofType: "mp3")
do
{
myPlayer = try AVAudioPlayer(contentsOfURL: NSURL(fileURLWithPath: filePath!))
try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryAmbient)
try AVAudioSession.sharedInstance().setActive(true)
}
catch
{
print("error")
}
NSTimer.scheduledTimerWithTimeInterval(1.0, target: self, selector: #selector(self.playingProgress), userInfo: nil, repeats: true) //每秒更新slider
mySlider.maximumValue = Float(myPlayer.duration) //取得歌曲總長度
}
func playingProgress() //顯示歌曲長度
{
progressTimeLabel.text = String(format: "%.0f/%.0f", myPlayer.currentTime, myPlayer.duration)
mySlider.value = Float(myPlayer.currentTime)
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBAction func playMusicButtom(sender: AnyObject) //檢查playBtn之狀態
{
if myPlayer.playing == false
{
myPlayer.play()
playMusicButtom.setTitle("pause", forState: .Normal)
}else{
myPlayer.pause()
playMusicButtom.setTitle("play", forState: .Normal)
}
}
@IBAction func mySlider(sender: AnyObject) //調整slider移動歌曲進度
{
myPlayer.currentTime = Double(mySlider.value)
}
}
- Aug 27 Sat 2016 16:27
-
iOS(Swift) - 下載圖片並使用非同步傳輸
本篇文章記錄點擊按鈕啟動非同步傳輸下載圖片並顯示於imageView,
下載期間顯示indicator與計算下載任務完成度之百分比,
如果用網路傳輸期間有error, 請留意App Transport Security Settings是否有在info.plist設定
程式碼如下:
下載期間顯示indicator與計算下載任務完成度之百分比,
如果用網路傳輸期間有error, 請留意App Transport Security Settings是否有在info.plist設定
程式碼如下:
- Jul 21 Thu 2016 13:52
-
iOS - 2016/06/01之後app必須支援IPv6之問題