文件名称:iOS8SwiftVolumeTutorial:MPVolumeView 定制
文件大小:4.51MB
文件格式:ZIP
更新时间:2024-07-16 19:14:15
Swift
iOS8SwiftVolume教程 在storyboard中添加一个UIView,将类从UIView改为MPVolumeView func setupVolumeView () { volumeView. backgroundColor = UIColor. clearColor () volumeView. showsVolumeSlider = true volumeView. showsRouteButton = false let thumbImageNormal = UIImage ( named : " SliderThumb-Normal " ) volumeView. setVolumeThumbImage (thumbImageNormal, forState : . Normal ) let th
【文件预览】:
iOS8SwiftVolumeTutorial-master
----iOS8SwiftVolumeTutorial()
--------ViewController.swift(3KB)
--------Amorphis - My Enemy.mp3(3.13MB)
--------Info.plist(1KB)
--------AppDelegate.swift(2KB)
--------NextButton.png(637B)
--------Base.lproj()
--------noArtworkImage.png(3KB)
--------Images.xcassets()
--------playButton.png(382B)
--------pauseButton.png(204B)
--------PreviousButton.png(626B)
----iOS8SwiftVolumeTutorial.xcodeproj()
--------project.xcworkspace()
--------xcuserdata()
--------project.pbxproj(19KB)
----iOS8SwiftVolumeTutorialTests()
--------Info.plist(750B)
--------iOS8SwiftVolumeTutorialTests.swift(942B)
----README.md(2KB)