I was wondering how to use WPF-style storyboard animations in .NET MAUI content pages. This spec (https://github.com/dotnet/maui/issues/265) says that it is possible and an equivalent has implemented in MAUI but I don't have any idea how to use it.
Please could someone explain it, and provide a demo (if possible).
Related
I'm looking from a couple of hours now about "How to design my app around my camera view"
So, I searched about how to use the camera and the Xamarin XLabs and the MediaPlugin are the ones that shows up the more.
However, when I'm looking at them, also when I'm looking at Moments, I can't find the way or understand how can we use the camera as an XAML component, to be able to design on the live view of the camera?
I'm not coding with an MVVM logic but with a MVC logic, so maybe that why I don't get it, I don't know.
You can create a view renderer for your camera, so you just have to add the view in your XAML, and you can add the design you want in your same XAML.
Take a look on this:
https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/custom-renderer/view/
I can't find any documentation of how to get interface builder to render UI as it will be at runtime (a new feature as shown here. Does anyone know how?
This functionality comes for free, without any need to enable it. Rendering iOS content in the Interface Builder canvas now includes effects such as blurs and vibrancy.
If you have custom views, using IBDesignable and IBInspectable (introduced in Xcode 6) are a great way to enable design-time rendering inside IB. Here are some starting points:
http://help.apple.com/xcode/mac/8.0/#/devf60c1c514
http://nshipster.com/ibinspectable-ibdesignable/
I have a monotouch project and I am trying to theme the uipicker without any luck. I have tried setting backgroundcolors to clear however none seem to do much.
To start with I don't want to do anything to difficult I really just want to be able to clear the black background then remove the 2 tone gradient bar that the picker is inside.
Any monotouch gurus care to lend a hand?
It is not an easy task (Apple doesn't have a clear cut way to do this). Read some of the options here.
So you can either:
Create an image with a transparent center to add a UIImageView as a subview,
Try settings properties on a Subview of UIPickerView
Try porting their IXPickerOverlayView to MonoTouch
I'm new to iOS programming and one thing I don't get. I have an app idea, I paid for graphic designer to make me a UI design. He sent me a layered psd with custom designed controls, layout etc. Everything is custom designed, not using standard iOS looking controls as I wanted.
The question is how can be this custom design converted to iOS controls, layout and so?
If I consider a Facebook iPad application or Foursquare iPhone application, are that just "skinned" iOS standard controls, or is it written in HTML5 and just wrapped by Objective-C? If so, how?
Thank you
I recommend that you use Objective-C for native applications. Most controls provide support for "skinning" by allowing you to provide your own images. For example, UISlider has methods to set minimum and maximum image, the track image and tint color as well as the thumb image and tint color. Ray Wenderlich often provides great tutorials on his site that are worth checking out.
In SCSF application I would like to display a view as a modal window at the center of the screen. Is it possible to do that?
WindowSmartPartInfo doesn't have any option for setting screen postion.
Thanks.
Assuming you're talking about Winforms, not WPF since the WPF layer for CAB does expose this option. In winforms there is no option in the WindowSmartPartInfo to do this. However, you could extend it and extend WindowWorkspace to use your new SmartPartInfo (override the OnApplySmartPartInfo method).
Before you do this, you might want to check the contrib and community sites to see if anyone has already done it. I think I've seen one somewhere.