CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

FAAdaptiveImageView 0.1.0

FAAdaptiveImageView 0.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Oct 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Fahid Attique.



  • By
  • Fahid Attique

Alt text





Features

  • ImageView for all iPhone devices (iPhone X inclusive)
  • Adaptive Layout in interface builder
  • iOS 11 supported
  • Easy to use

Usage

Step 1

  • Set the class of imageView as FAAdaptiveImageView,

Alt text

Step 2

  • Add the images of all device sizes in Assets folder with format shown below,

Alt text

Step 3

  • Set the name of imageView in root field,

Alt text

Preview of FAAdaptiveImageView

iPhone X iPhone Plus
Alt text Alt text
iPhone Oversize (7, 6 & 6s) iPhone Regular (5 / 5s)
Alt text Alt text

License

FAAdaptiveImageView is licensed under the MIT License.

Author

Fahid Attique - (https://github.com/fahidattique55)