xamarin.ios

Xamarin forms MasterDetailPage Menu icon not shown on iOS

旧时模样 提交于 2020-08-23 05:27:09
问题 I have Xamarin.Forms project. I have MasterDetailPage inside NavigationPage. I set icon property of the MasterDetailPage so that icon is supposed to be set as the top left position on the navigation bar. But it does not work. public partial class App : Application { public App() { InitializeComponent(); var masterDetailpage = new MasterDetailPage { Icon = "menuIcon.png", Master = new Page { Title = "Sample"}, Detail = new Page() }; MainPage = new NavigationPage(masterDetailpage); } } This

Xamarin.iOS cannot register with Azure Notification Hub in iOS 13.1.2

℡╲_俬逩灬. 提交于 2020-08-08 05:45:23
问题 I have been dealing with this issue for a few days now. Yesterday an update was released for the Xamarin.Azure.NotificationHubs.iOS NuGet package. The way to register for the notification hub is NOW different in the sample on the Github link for the nuget package than in the Microsoft Azure documentation. I narrowed down the problem I believe to getting the right connection string. The Error occurs at this line: var hub = new SBNotificationHub(connectionString,HubName); ------Documentation

Xamarin.iOS cannot register with Azure Notification Hub in iOS 13.1.2

给你一囗甜甜゛ 提交于 2020-08-08 05:45:13
问题 I have been dealing with this issue for a few days now. Yesterday an update was released for the Xamarin.Azure.NotificationHubs.iOS NuGet package. The way to register for the notification hub is NOW different in the sample on the Github link for the nuget package than in the Microsoft Azure documentation. I narrowed down the problem I believe to getting the right connection string. The Error occurs at this line: var hub = new SBNotificationHub(connectionString,HubName); ------Documentation

Extra bottom and top space in iPhone X in Xamarin form

独自空忆成欢 提交于 2020-08-06 09:15:10
问题 I'm using XAML for UI design my app is working fine in less then Iphone X device.Only problem in Iphone X it's getting top and bottom Extra space. If I use below code for Iphone X Safe area enable, it's getting more space in bottom and top. On<Xamarin.Forms.PlatformConfiguration.iOS>().SetUseSafeArea(true); I got SafeArea layout setting code here SetUserSafeArea Also i'm using SetHasNavigationBar for disable header navigation title.But there is no luck in Iphone X. NavigationPage

Automated conversion of aps-environment from development to production in Xamarin

落爺英雄遲暮 提交于 2020-08-06 08:08:26
问题 In my Xamarin iOS project, Entitlements.plist has aps-environment set to development , for dev testing purposes. I'm using the Visual Studio Team Services Extension for the App Store to automate publishing builds to TestFlight. However, when it uses fastlane pilot to upload the app, I get this error: ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'development' for

How to Store Lists in Xamarin Forms Settings Plugin

北城以北 提交于 2020-08-06 07:10:21
问题 can anyone please help me for how to Store Lists in Xamarin Forms Settings Plugin. 回答1: In settings Plugin you can store in a key-value fashion, so you can not directly store lists. A workaround can be, you can serialize your list into a json string, and you can store that using a key. And when you need the list back, you can get that json string using the key and deserialize it to the original format. 回答2: The Xamarin Settings plugin is obsolete and no longer maintained. Its functionality

Xamarin Picker selected item persisting on multiple pages

谁都会走 提交于 2020-08-06 06:20:12
问题 Question: Perhaps the challenge could be stated this way: How do I bind a single property in a content page to a globally stored variable in Xamarin Forms? Details: I am using the MVVM pattern. I have a navigation content page (1 of 3 such pages) with a Picker object which is populated dynamically from the collectionModel and said model is read/write. I am attempting to persist the SelectedItem (or index, whichever is most appropriate) thru all 3 content pages such that navigation from page

iOS Subviews all lumped together at top of content view (using Cirrious FluentLayouts)

我怕爱的太早我们不能终老 提交于 2020-07-23 06:45:32
问题 I'm not at all familiar with UIScrollView and content so please bear with me, I originally had an issue where things were not displayed at all and now they are all displayed at 0,0, except for lblPassword which is in the correct location below lblUsername . I assumed that there was an contentView size issue, so I coded it with size parameters, etc, but nothing seems to work. My code is: public partial class createAccount : UIViewController { public User MyUser; public createAccount (IntPtr

iOS Subviews all lumped together at top of content view (using Cirrious FluentLayouts)

情到浓时终转凉″ 提交于 2020-07-23 06:44:11
问题 I'm not at all familiar with UIScrollView and content so please bear with me, I originally had an issue where things were not displayed at all and now they are all displayed at 0,0, except for lblPassword which is in the correct location below lblUsername . I assumed that there was an contentView size issue, so I coded it with size parameters, etc, but nothing seems to work. My code is: public partial class createAccount : UIViewController { public User MyUser; public createAccount (IntPtr