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

iOS: no icon visible at all (assets seems to be missing?) #359

Closed
1 of 7 tasks
softlion opened this issue Aug 27, 2020 · 5 comments
Closed
1 of 7 tasks

iOS: no icon visible at all (assets seems to be missing?) #359

softlion opened this issue Aug 27, 2020 · 5 comments

Comments

@softlion
Copy link
Contributor

🐛 Bug Report

On iOS, material fields don't display any asset. Especially the "delete content" icon on material entries is not displayed. But it is general: there is no icon at all displayed by the library.
The same code does work fine on Android, and all icons are displayed correctly.

Expected behavior

On iOS, MaterialTextField should display the "cross" icon to delete its content

Reproduction steps

Run the existing sample project on an iPhone 6 iOS 12.4 simulator.
Open the text fields test page.

Configuration

Version: 1.6.6 and also locally built version 1.6.7-pre2 from my own clone of this repo

Platform:

  • 📱 iOS
  • 🤖 Android
  • 🏁 WPF
  • 🌎 UWP
  • 🍎 MacOS
  • 📺 tvOS
  • 🐒 Xamarin.Forms
@softlion
Copy link
Contributor Author

It seems to be a bug in Sdk Extra.

novotnyllc/MSBuildSdkExtras#170
novotnyllc/MSBuildSdkExtras#169

@softlion
Copy link
Contributor Author

Also, xf_clear is not available on iOS. There is only an Android resource. So that explains why the clear button won't appear on iOS.

@lunjio
Copy link
Contributor

lunjio commented Aug 28, 2020

You can solve this problem by manually adding images files in your project. I tried to solve the problem many times, checked everything, project is correct, may be there are problem in dashes in file names. However manually adding all images to your IOS project solves problem. i also compared the library with others existing, where embeded images display correct, didn't noticed any difference

@softlion
Copy link
Contributor Author

I've PR to add the missing "xf_clear".
@lunjio The setup doc should be temporarily updated to reflect this.

@softlion
Copy link
Contributor Author

dup of #327
PR done for the missing icon.

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

2 participants