I use 2 custom fonts on my flutter project, i have registered them on pubspec.yaml. Everything works perfectly on my android emulator and my real android device. But once i start running it on ios simulator, the whole layout went crazy.
I found the solution on here https://stackoverflow.com/a/52603332/12461018 and so i commented all of the custom fonts and the app works fine.
Now the question is how to use those custom fonts so it'll work on ios devices?
Related
I have flutter ontap guesture that works well in simulator but does not work consistently on mobile when installed.
On simulator it works always but on mobile randomly works dont know how to debug.
I'm debugging two programs in Flutter ios, but in VS Code the simulator name appears the same for the two devices, how can I rename the devices to differentiate when I launch the app?
I have tried change the name in Hardware/device/manage Devices menu, but it doesn't works.
I have added popupover's to any app on Ionic framework and it looks perfect in IOS but the popupovers are looking totally different and out of place on Android.
Any ideas why?
Here's a picture with screenshots taken from an Iphone and on the right an android phone.
This is most probably caused by the transitioning between the views. It is working differently according to the platform. This is usually causing differences between the Android view and the iOS view.
You can read more here - http://ionicframework.com/docs/api/provider/$ionicConfigProvider
I'm trying to replace my iPad icon app on my iPad. However, for some reason the icon doesn't change and app always installed with the old icon.
I tried the following -
didn't find anything wrong with info.plist file
installed on iPhone & iPad simulator and also on my iPhone - works fine with the right icon
delete app and reinstall on iPad - doesn't help
restart the iPad - doesn't help
clean cache - the only clean cache option I found on my iPad is related to the Safari app - tried it anyway - doesn't help.
My iPad is running with iOs 4.3.3 - icon doesn't change
My iPhone is running with iOS 5.0 - works fine
iPhone & iPad simulators 4.3 & 5.0 - works fine.
Any idea?
Many thanks for your help,
Dudi
You can try some of these: restarting xcode, clean build folder, project-archive and look inside the zip, check ipad-icon in your project with finder.
good luck.
Have you tried deleting the app off of your iPad as well as running a Clean Build before re-installing it back on to your iPad?
Try a clean build: Product > Clean.
Particularly having deleted the app off your device, and still found this problem, the need for a clean build is by far the most likely issue.
I already have an application which i have built for iphone only. I need to change it to work in both iphone and ipad.the upgrade to ipad application option in project tab of xcode is faded.. which I means I cant do that... I tried to run the project in ipad simulator but it gets automatically run in iphone simulator.
What are the proper steps to change my project to work in iphone and ipad.
Initially change the build setting,ie change the Targeted Device Family field to iPhone/iPad. To write logic for iPad use "UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad" this condition.