Working with maps on my xamarin forms project and when i start the simulator i get the map when it is zoomed out, but when i click a button (that moves the map closer, zooms it in) the map doesnt load, it remains gray. The simulator I am using is iPhone 6s. If I however use the iPad Air simulator, it works just fine and the map loads when it gets more zoomed in.
When I deploy the app on my phone it remains gray as well. If I zoom out again, then it loads, but if i go futher in into the map then it turns gray again.
I use Location always in usage + when in usage and the standard iOS map.
I use version 2.1.0.6529 on both Xamarin.Forms.Maps as well as Xamarin.Forms in my mainfolder and the iOS folder. (Latest version)
I have "Xamarin.FormsMaps.Init();" in my appdelegate.cs file as well as some other code (push notifications), might that interfere somehow?
I am very confused what the issue might be.
Related
Our windows forms application makes use of devDept Eyeshot for visualization of meshes.
I am getting user reports saying that whenever the application starts and prepares the viewport, only a black screen is presented. Other controls from the UI, such a labels and buttons, display and function correctly.
Of the following image, we should be able to see the left side. Some users report are only seeing the right side.
Viewport
When dragging the form around, the black screen flickers and it is clear that the viewport is still present behind this black screen.
However, it seems impossible to regain control over the viewport and make it display elements without dragging the form around.
Around 10% of our users encounter this problem, which does make it a significant problem.
I have tried to replicate the problem on numerous identically set-up virtual machines, where again approximately 10% of VMs have this problem.
I have no further clues on how to get rid of this annoyance, so any help would be very much appreciated.
Solutions tried:
- Updated graphics card driver -> No effect
- Updated BIOS -> Fixes the problem for a few users, but is not a reliable fix
- Resizing or moving the screen seems to solve the problem. However, the viewport seems unstable and sometimes reverts to the 'black-screen' state.
Details:
- version devDept: devDept Eyeshot v9
- builds are made by using Visual Studio 2013
PC configuration(on which this problem occurs):
- x64 builds
- both Debug & Release
- Windows 7 + Windows 10
I have just finished developing a cross platform xamarin app. When I tried to submit my app to apple store there were errors. I think when I was fixing them, I changed something and the screens changed for iOS. Fonts, pictures, keyboard etc.. sizes have grown. It is like the resolution decreased. However there is nothing changed about android side, everything is same. Here are two screen shot before - after. If you know what is the problem, can you let me know it?
As James said at comments, the problem was about splash screen. I changed it to default and everything fixed.
Inside GvrViewer.cs I've tried setting the defaultDeviceProfile by using:
public Uri DefaultDeviceProfile = new Uri ("http://vr.google.com/cardboard/download/?p=CgZPd2wgVlISBlZpZXdlch0xCCw9JdV4aT0qEAAASEIAAEhCAABIQgAASEJYATUpXA89Oggfhes-H4VrPlAAYAM");
We've launched in the Play & App stores and it has been reported that the app isn't defaulting to the correct device profile - When the user scans the bar code the image distortion looks correct, however on launch the headset is not callibrated.
I'm aware that this only works if a headset hasn't been previously paired.
Question 1
How can I debug this? When we delete the app on both iOS android the previous profile is loaded :/
Question2 Can I force this elsewhere, (maybe BaseVRDevices.cs?)
Any help would be much appreciated, unfortunately this slipped through our Q&A...
I have a Windows Phone 8.1 app, written in Windows RT and XAML. The app suffers from an issue with one of its shortcut tiles placed on the home screen getting grayed out. In screenshot 1, the large tile is grayed out and the graying out is visible when compared with the tiles of other apps. In screenshot 2, the smaller tile appears perfectly fine.
The issue persists with only the large tile of the app, and it remains grayed out all the time, even when freshly installed onto a phone. I read a lot of reports about app tiles getting grayed out, and the reason behind them was some sort of backup being performed. But in my case the issue is permanent and exists ONLY with the large tile.
Tile being grayed out:
Smaller tile appears fine:
How can I fix this issue? If the issue is because of some backup being performed in the background by the OS, how can I avoid this? Also, I did check the backup option in the settings menu, and it was turned off. So, theoretically, no backup could be performed, leaving no reason for graying out.
Any pointers?
UPDATE: Snippet from the manifest file where the tiles are set. The background color is set to transparent.
<m3:VisualElements DisplayName="my app" Square150x150Logo="Assets\Logo.png" Square44x44Logo="Assets\SmallLogo.png" Description="WindowsPhone" ForegroundText="light" BackgroundColor="transparent" ToastCapable="true">
<m3:LockScreen Notification="badgeAndTileText" BadgeLogo="Assets\LockImage.png" />
<m3:DefaultTile Wide310x150Logo="Assets\WideLogo.png" Square71x71Logo="Assets\Square71x71Logo.png">
<m3:ShowNameOnTiles>
<m3:ShowOn Tile="square150x150Logo" />
<m3:ShowOn Tile="wide310x150Logo" />
</m3:ShowNameOnTiles>
</m3:DefaultTile>
I've read somewhere that the tile can be grayed out by the system if our intentions are to write text on them, just to give it a better contrast.
Please try another tile template.
Check the image you are setting when you create the large tile. Or maybe the Background property. I think its on this two properties. If not, please paste the code you are using to create this tile.
I'm getting started with Xamarin using Visual Studio 2013 trying to build an iOS app. I have added a launch screen as an XIB file and the default one they give you (as per the tutorials) just has a few labels and when run on the simulator appears fine.
In the designer when I double click on the XIB, the app view to add components to is square, rather than rectangular and vertical as I would expect for an iPhone display. But the default XIB seems to work.
However I have added a UIView and an image to this, told it to fill the width and height, added two labels in the middle and run it. The displayed image is square and goes off the screen of the simulator, as do the labels. It is not automatically resizing to fill the displayed screen as I would hope.
Basically what I want to know is how to start building basic views with resizable components that will work on any device you use. Can anyone please link me to a tutorial for this using Visual Studio Xamarin for iOS as I don't know what to search for.
What it looks like in designer
How it comes out in simulator