xamarin.ios

Xamarin Forms - Can't find provisioning profile (ios bundle signing)

[亡魂溺海] 提交于 2020-04-08 10:09:47
问题 I am using a macbook pro with visual studio community. The error I receive in the console is: /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(644,3): error : Could not find any available provisioning profiles for iOS. I noticed that this error came up once we added the SecureStorage plugin to the project. Any commit prior doesn't result in this error. I have done the following: Opened up xCode >> Accounts >> Made sure my apple ID was there, downloaded

TextField in Xamarin IOS not allowing input

时光怂恿深爱的人放手 提交于 2020-03-28 06:53:20
问题 I have an ios App created in Xamarin with Visual Studio on the Mac. I've modified SceneDelegate to load a UITabController that is not created on the Storyboard. I've done this to allow changing the number of tabs presented in some cases. The UITabController is adding a View that is defined on the Storyboard. This view contains a TextField, this textfield does not allow text entry. When you tap it a keyboard does not appear. Yes User Interaction Enabled is checked. How can I fix this? Thanks,

Xamarin forms custom splash screen

痴心易碎 提交于 2020-03-26 03:32:15
问题 On my Splash screen, I want to put the App version for both Android and iOS at the bottom 回答1: To make a custom Splash Screen, try this out Create SplashScreen.axml in your resource directory in Droid project `<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView . .PLACE YOUR IMAGE CODE HERE . /> <TextView android:id="@+id/AppVersion" android:text=

How to change Default Display Alert background Color in Styles.Xml for Xamarin Forms

徘徊边缘 提交于 2020-03-22 09:03:11
问题 I need to change Default Display Alert background Color in Styles.Xml for Xamarin Forms? Please Anyone help me? I don't want Any plugins or etc. I just need to Change default Display alert background Color 回答1: <ActivityIndicator x:Name="activityIndicator" Margin="0,50,0,0" VerticalOptions="Center" HorizontalOptions="Center" Color="Black" WidthRequest="30" HeightRequest="30" ></ActivityIndicator> <Label x:Name="lblLoadingText" TextColor="Black" VerticalOptions="Center" HorizontalOptions=

How to set Safe Area layout in iPhone x

試著忘記壹切 提交于 2020-03-21 18:03:09
问题 I am developing Xamarin forms app and my app seems with safe area set in top. But need to ignore it. Current scenario: Excepted scenario: I have googled regarding this and got below link, tried out as mentioned in below links and nothing worked. https://forums.xamarin.com/discussion/104945/iphone-x-and-safe-margins-with-xamarin-forms https://blog.xamarin.com/making-ios-11-even-easier-xamarin-forms/ But didn’t know how to access SetPrefersLargeTitles under Xamarin forms content page in below

How to set Safe Area layout in iPhone x

空扰寡人 提交于 2020-03-21 18:02:13
问题 I am developing Xamarin forms app and my app seems with safe area set in top. But need to ignore it. Current scenario: Excepted scenario: I have googled regarding this and got below link, tried out as mentioned in below links and nothing worked. https://forums.xamarin.com/discussion/104945/iphone-x-and-safe-margins-with-xamarin-forms https://blog.xamarin.com/making-ios-11-even-easier-xamarin-forms/ But didn’t know how to access SetPrefersLargeTitles under Xamarin forms content page in below

Xamarin iOS communication between Javascript and c#

陌路散爱 提交于 2020-02-29 04:24:24
问题 We are implementing an app where we have communication between Javascript and c#. Our UIWebView has a button to invoke some native functionality. On a UIWebView i have an handler on ShouldStartLoad. webView.ShouldStartLoad = myHandler; bool myHandler (UIWebView webView, NSUrlRequest request, UIWebViewNavigationType navType) { } This gets called everytime page loads. Indeed, i would like to only call it from an event from WebView such as on a button click. From Javascript i have window

Xamarin iOS communication between Javascript and c#

两盒软妹~` 提交于 2020-02-29 04:23:31
问题 We are implementing an app where we have communication between Javascript and c#. Our UIWebView has a button to invoke some native functionality. On a UIWebView i have an handler on ShouldStartLoad. webView.ShouldStartLoad = myHandler; bool myHandler (UIWebView webView, NSUrlRequest request, UIWebViewNavigationType navType) { } This gets called everytime page loads. Indeed, i would like to only call it from an event from WebView such as on a button click. From Javascript i have window

Xamarin iOS communication between Javascript and c#

时光毁灭记忆、已成空白 提交于 2020-02-29 04:19:05
问题 We are implementing an app where we have communication between Javascript and c#. Our UIWebView has a button to invoke some native functionality. On a UIWebView i have an handler on ShouldStartLoad. webView.ShouldStartLoad = myHandler; bool myHandler (UIWebView webView, NSUrlRequest request, UIWebViewNavigationType navType) { } This gets called everytime page loads. Indeed, i would like to only call it from an event from WebView such as on a button click. From Javascript i have window

How can I make my app send out notifications when it's loaded but not running in the foreground?

不羁岁月 提交于 2020-02-27 06:28:49
问题 I have an app that I use sometimes. I must have left it there in the background before I slept. When I woke up I saw this notification on my screen. Does anyone have any suggestions on how I can make a notification like this appear with my XF application? Also, do these notifications appear on Android also? I've never seen them on my Android phone but that could be because I use it much less. 回答1: We can use Shiny.Notifications NuGet Package to create cross-platform Local Notifications in