Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Instance Scaling #2

Closed
smaun opened this issue May 12, 2017 · 6 comments
Closed

Instance Scaling #2

smaun opened this issue May 12, 2017 · 6 comments
Labels

Comments

@smaun
Copy link

smaun commented May 12, 2017

I m unable to perform instance scaling, Is there any workaround other then your provided code snippet. While global scaling is doing great

@alexmx
Copy link
Owner

alexmx commented May 12, 2017

@smaun Thank you for reporting this. I will take a look and will come back with a fix shortly.

@alexmx alexmx added the bug label May 12, 2017
@alexmx
Copy link
Owner

alexmx commented May 12, 2017

@smaun Fixed in the latest release 1.0.2.

@alexmx alexmx closed this as completed May 12, 2017
@smaun
Copy link
Author

smaun commented May 12, 2017

Updated the POD to 1.0.2 but still having the same issue.
using like this,

override func viewDidLoad() {
super.viewDidLoad()
txtViewSetting.amx_autoScaleFont(forReferenceScreenSize: .size4Inch)
}

@alexmx alexmx reopened this May 12, 2017
@alexmx
Copy link
Owner

alexmx commented May 12, 2017

@smaun My fault. I fixed the bug for UILabel only, from your sample I see that you use an UITextView. Will push a new release shorty.

@alexmx
Copy link
Owner

alexmx commented May 12, 2017

@smaun Should be fixed in the latest release 1.0.3.

Can you please confirm that it is working fine for you?

@smaun
Copy link
Author

smaun commented May 12, 2017

Working fine now cheers 👍

@alexmx alexmx closed this as completed May 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants