具有一个var uiImageIn = UIImage(named: "image.png")!
var image1 = uiImageIn.cgImage!
var data1 = image1.dataProvider!.data
var data2 = image1.dataProvider!.data
var ptr1 = UnsafeMutablePointer<UInt8>.init(mutating: CFDataGetBytePtr(data1)!)
var ptr2 = UnsafeMutablePointer<UInt8>.init(mutating: CFDataGetBytePtr(data2)!)
print("Image1Ptr: \(ptr1)")
print("Image2Ptr: \(ptr2)")
和position: static
的div。更改屏幕溢出的分辨率时,不适用于IE11中的x轴。
overflow: auto