xamarin.ios

Xamarin forms Shell Custom icon for selected tab

末鹿安然 提交于 2021-02-10 20:36:33
问题 I'm playing with the COOL xamarin shell, but I didn't found a way to change icon of the selected tab. <TabBar Route="sections"> <Tab Title="home"> <Tab.Icon> <FontImageSource FontFamily="{StaticResource AppIcons}" Glyph="{x:Static framework:Icons.HomePage}" /> </Tab.Icon> <ShellContent ContentTemplate="{DataTemplate home:HomePage}" Route="home" /> </Tab> The goal is to use Icons.HomePageFilled instead of Icons.HomePage for this tab only when it's selected. Same logic should apply to other

Did Xamarin forms supports Bing maps insted of Google map native control?

十年热恋 提交于 2021-02-10 17:53:51
问题 We have an requirement for showing Bing maps view in Xamarin forms app for Android and iOS both. We have done the integration of Google maps for both platforms with the help of https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/map#Using_Xaml and https://github.com/amay077/Xamarin.Forms.GoogleMaps. I neither found any documentation that Bing maps supported on Android and iOS nor any thing says it did not support. So How can I get documentation to integrate Bing maps in my

Xamarin Tab Bar top(border) line

一世执手 提交于 2021-02-10 15:54:51
问题 How can I realize the orange line above Tab bar on Android and iOS? 回答1: To achieve this effect, you need to create a custom TabbedPageRenderer. On Android: public class EnhancedTabbedPageRenderer : TabbedPageRenderer { private BottomNavigationView _bottomNavigationView; public EnhancedTabbedPageRenderer(Context context) : base(context) { } protected override void OnElementChanged(ElementChangedEventArgs<TabbedPage> e) { base.OnElementChanged(e); if (e.NewElement != null) {

No history for a screen on the ios

 ̄綄美尐妖づ 提交于 2021-02-10 06:33:52
问题 I'm using monotouch for developing ios applications.Suppose that I have 3 screens: s1, s2 and s3. User can open them like this: s1 -> s2 -> s3 . I want that if user open s2 it can back by navigation back button to the s1 screen, but if it goes to the s3 screen by pressing back button in the navigation bar the application back to the s1 no s2. Is it possible in the ios? On the android if you use NoHistory attribute you can implement this feature, is there any equivalent in the ios too? 回答1:

Failed to parse altool output: Failed to parse PList data type: /

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-08 12:37:11
问题 I have a Xamarin.Forms application. I am up to date on my VSMac, XCode, Xamarin, Xamarin.Forms, Mac, and everything else that I can think of. I am stumped regarding where to go resolve this issue. It is happening when I attempt to deploy the application to the iOS app store. I have checked my plist file with "plutil -lint" and it comes back as OK. any ideas are greatly appreciated. TIA. 回答1: Increase the build number in the info.plist file 回答2: I had the same issue, increasing the build

How to open another xamarin forms page form a item-click in a list view

故事扮演 提交于 2021-02-08 07:51:26
问题 Hello I have a List View that I made in Xamarin forms and all I want it to do is when the user clicks a option in the List View it take them to another Xamarin forms page in my case it would be ContactInfo heres my xaml: <?xml version="1.0" encoding="UTF-8"?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="WebSearch.CountySelect" Title="ReadyMo"> <StackLayout Padding="0,20,0,0"> <Label Text="ReadyMo" FontAttributes=

How to open another xamarin forms page form a item-click in a list view

你离开我真会死。 提交于 2021-02-08 07:51:25
问题 Hello I have a List View that I made in Xamarin forms and all I want it to do is when the user clicks a option in the List View it take them to another Xamarin forms page in my case it would be ContactInfo heres my xaml: <?xml version="1.0" encoding="UTF-8"?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="WebSearch.CountySelect" Title="ReadyMo"> <StackLayout Padding="0,20,0,0"> <Label Text="ReadyMo" FontAttributes=

Subclassing UICollectionView

扶醉桌前 提交于 2021-02-08 07:21:04
问题 Does anybody know how to subclass a UICollectionView in Xamarin.iOS? I tried this public class MyCustomUICollectionView : UICollectionView { [Export ("initWithFrame:")] public InfinitiveScrollingUICollectionView (CGRect frame) : base(frame) { // initialization } } but I get The best overloaded method match for UIKit.UICollectionView.UICollection(Foundation.NSCoder) has some invalid arguments Argument #1 cannot convert CoreGraphics.CGRect expression to type Foundation.NSCoder`. I also tried to

Subclassing UICollectionView

浪子不回头ぞ 提交于 2021-02-08 07:15:13
问题 Does anybody know how to subclass a UICollectionView in Xamarin.iOS? I tried this public class MyCustomUICollectionView : UICollectionView { [Export ("initWithFrame:")] public InfinitiveScrollingUICollectionView (CGRect frame) : base(frame) { // initialization } } but I get The best overloaded method match for UIKit.UICollectionView.UICollection(Foundation.NSCoder) has some invalid arguments Argument #1 cannot convert CoreGraphics.CGRect expression to type Foundation.NSCoder`. I also tried to

Authentication Error e.Message = OAuth Error = Permissions+error

故事扮演 提交于 2021-02-08 05:44:24
问题 I'm using Xamarin.Auth version 1.5.0.3 in my xamarin.android and xamarin.ios (PCL) project for application authentication/login with facebook's OAuth API. The issue arises after I click on the "Not now" link (watch the screenshot below). I get the following error dialog: Authentication Error e.Message = OAuth Error = Permissions+error Is there any way to disable this link or to fix it somehow? Or does someone have an idea why this happens? iOS code (which works now): public override void