[iOS & Swift] The library Auto Resize Layout
This Library support Auto Resize Layout for All Device Monitors.
[Image1 : iPhone 5s (Before using AutoResize)] [Image2 : iPhone 5s (After using AutoResize)]
[Image3 : iPhone 8 (Default Layout device)]
< How to use >
-
Copy 'BaseViewController.swift' file to your Source porject.
-
Open 'ViewController.swift' file.
-
Change super class to 'BaseViewController'
[Before]
class ViewController: UIViewController {
[After]
class ViewController: BaseViewController {
-
Open '*.storyboard' file.
-
Set default Device 'View as : iPhone 8'
-
Adjust all View's size and location.
That's all.
-
GitHub Link : https://github.com/DonggeunJung/AutoResize
-
Any question => Email : topsan72@gmail.com / Author : Donggeun Jung (Dennis)