How to add custom font in Xamarin.IOS designer UI WatchKit project

If you can't see your custom font on Visual Studio designer and still see the Custom(not installed) or you can't set your WKInterfaceLabel.Font property follow these steps, Add font file in to the Reference folder on your IOS project as "Font Awesome 5 Free-Solid-900.otf", Edit Info.plist file come to source section and add Fonts provided … Okumaya devam et How to add custom font in Xamarin.IOS designer UI WatchKit project

Reklamlar

How to set Todays Widget Height depending on content size using Xamarin Ios Native

Here is a sample to set Todays Widget Content height according to tableview content height public partial class TodayViewController : UIViewController, INCWidgetProviding { //https://forums.xamarin.com/discussion/104640/almost-all-time-cannot-show-more-for-xamarin-today-widget-on-ios-11 [Export("widgetActiveDisplayModeDidChange:withMaximumSize:")] public void WidgetActiveDisplayModeDidChange(NCWidgetDisplayMode activeDisplayMode, CoreGraphics.CGSize maxSize) { // Take action based on the display mode switch (activeDisplayMode) { case NCWidgetDisplayMode.Compact: this.PreferredContentSize = maxSize; // changes according to compact mode break; … Okumaya devam et How to set Todays Widget Height depending on content size using Xamarin Ios Native