Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"stretch" is not working on iOS #13

Open
b02505048 opened this issue Dec 13, 2018 · 3 comments
Open

"stretch" is not working on iOS #13

b02505048 opened this issue Dec 13, 2018 · 3 comments

Comments

@b02505048
Copy link

Am using NativeScript-Vue, works well on Android but when running on iOS, the image stretched to fill the screen even though the stretch="aspectFit" attribute was set

<Page actionBarHidden="true" backgroundColor="#222222">
   <GridLayout rows="*">
      <StackLayout row="0" verticalAlign="center">
         <ImageZoom :src="source" maxZoom="3" minZoom="1" width="360dp" height="640dp" stretch="aspectFit" />
      </StackLayout>
   </GridLayout>
</Page>

Any idea? Thank you

@hakkism
Copy link

hakkism commented Jan 11, 2019

When I call the ImageZoom component, I have this WARN message in my console:
Objective-C class name "UIScrollViewDelegateImpl" is already in use - using "UIScrollViewDelegateImpl1" instead

Can it be related with this "stretch" issue?

tns-verison: 5.1.0
platform : ios

@3rror404
Copy link

3rror404 commented May 8, 2019

Is there a fix for this @triniwiz ?

@darkmantle
Copy link

@triniwiz Can you release a new version with this fix? Need it ASAP for my app if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants