xamarin.ios

WebView text too small cannot make bigger XForms (4.8)

痞子三分冷 提交于 2020-12-23 13:45:48
问题 wondering if anyone can help, the text on the webView is too small, I have an HTML that I have NO control over. How can I increase the size? I have tried Xamarin forms: Webview content default size is too small but did not work for me as the page does not load at all. Is this a bug? Am I missing something? Any suggestions <WebView VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"> <WebView.Source> <HtmlWebViewSource Html="{Binding HtmlSource}" /> </WebView.Source> </WebView>

Xamarin WKWebView and Cookies

柔情痞子 提交于 2020-12-13 03:39:15
问题 I have a Xamarin Forms app that uses cookies to track login status and uses both HTTPRequests and Webviews, so both need to share cookies. With UIWebView this cookies were shared without any extra management on my part; with WKWebView this appears not to be the case. I have been searching for an explanation on how cookies are handled with WKWebView or an example of how to manually retrieve and set the cookies between these two objects, but have been unable to find any. How do I get the cookie

Xamarin WKWebView and Cookies

落花浮王杯 提交于 2020-12-13 03:32:06
问题 I have a Xamarin Forms app that uses cookies to track login status and uses both HTTPRequests and Webviews, so both need to share cookies. With UIWebView this cookies were shared without any extra management on my part; with WKWebView this appears not to be the case. I have been searching for an explanation on how cookies are handled with WKWebView or an example of how to manually retrieve and set the cookies between these two objects, but have been unable to find any. How do I get the cookie

How implement Push Notifications firebase xamarin.ios c#

耗尽温柔 提交于 2020-12-09 11:21:23
问题 I'm developing an application that works on the iPhone through the xamarin.ios with firebase backend. I want Push Notifications FCM Firebase , but I couldn't, I want that code in AppDelegate.cs 回答1: To implement Push Notifications firebase with xamarin.ios in C#, you can have a try with Xamarin.Firebase.iOS.CloudMessaging. And there are detailed steps about setting-up-a-firebase-cloud-messaging-client-app-on-ios there. Code example in AppDelegate and Sample project are also available.

How implement Push Notifications firebase xamarin.ios c#

冷暖自知 提交于 2020-12-09 11:19:31
问题 I'm developing an application that works on the iPhone through the xamarin.ios with firebase backend. I want Push Notifications FCM Firebase , but I couldn't, I want that code in AppDelegate.cs 回答1: To implement Push Notifications firebase with xamarin.ios in C#, you can have a try with Xamarin.Firebase.iOS.CloudMessaging. And there are detailed steps about setting-up-a-firebase-cloud-messaging-client-app-on-ios there. Code example in AppDelegate and Sample project are also available.

Frame corner radius not rounding corners on iOS

拈花ヽ惹草 提交于 2020-12-03 07:27:37
问题 I am trying to round the corners of a stack layout, it works on android but on iOS, they still appear square but it does display the Frame shadow My XAML is <ContentPage.Content> <StackLayout BackgroundColor="WHITE"> <ListView> <ListView.ItemTemplate> <DataTemplate> <ViewCell> <StackLayout> <Frame CornerRadius="10" Padding="0" Margin="10, 10, 10, 10"> <StackLayout> . . . </StackLayout> </Frame> </StackLayout> </ViewCell> </DataTemplate> </ListView.ItemTemplate> </ListView> </StackLayout> <

Frame corner radius not rounding corners on iOS

廉价感情. 提交于 2020-12-03 07:27:08
问题 I am trying to round the corners of a stack layout, it works on android but on iOS, they still appear square but it does display the Frame shadow My XAML is <ContentPage.Content> <StackLayout BackgroundColor="WHITE"> <ListView> <ListView.ItemTemplate> <DataTemplate> <ViewCell> <StackLayout> <Frame CornerRadius="10" Padding="0" Margin="10, 10, 10, 10"> <StackLayout> . . . </StackLayout> </Frame> </StackLayout> </ViewCell> </DataTemplate> </ListView.ItemTemplate> </ListView> </StackLayout> <

Xamarin.Forms how open default email client on device?

試著忘記壹切 提交于 2020-11-29 08:31:11
问题 In Xamarin.Forms if you want to open the device's default browser by tapping a Label with a link, it's simple as this: private void WebUrl_TapGestureRecognizer_Tapped(object sender, EventArgs e) { var label = sender as Label; string url = "http://" + label.Text; Device.OpenUri(new Uri(url)); } Is there a similarly simple way to open the device's default email client with an open NewMessage with email address? private void EmailClient_TapGestureRecognizer_Tapped(object sender, EventArgs e) {

Xamarin.Forms how open default email client on device?

孤人 提交于 2020-11-29 08:30:23
问题 In Xamarin.Forms if you want to open the device's default browser by tapping a Label with a link, it's simple as this: private void WebUrl_TapGestureRecognizer_Tapped(object sender, EventArgs e) { var label = sender as Label; string url = "http://" + label.Text; Device.OpenUri(new Uri(url)); } Is there a similarly simple way to open the device's default email client with an open NewMessage with email address? private void EmailClient_TapGestureRecognizer_Tapped(object sender, EventArgs e) {

Xamarin.Forms how open default email client on device?

吃可爱长大的小学妹 提交于 2020-11-29 08:30:05
问题 In Xamarin.Forms if you want to open the device's default browser by tapping a Label with a link, it's simple as this: private void WebUrl_TapGestureRecognizer_Tapped(object sender, EventArgs e) { var label = sender as Label; string url = "http://" + label.Text; Device.OpenUri(new Uri(url)); } Is there a similarly simple way to open the device's default email client with an open NewMessage with email address? private void EmailClient_TapGestureRecognizer_Tapped(object sender, EventArgs e) {