Questions tagged [xamarin.ios]

Xamarin.iOS (previously known as MonoTouch) is a commercial software development kit for Mac OS X and Windows that lets you use C# (a .NET programming language) to create native applications for Apple iPhone, iPod Touch, iPad (iOS), Apple Watch (watchOS) and AppleTV (tvOS) devices.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Unable to retrieve some property values of the saved objects in Realm Xamarin iOS

I'm new to Realm and Xamarin.iOS and I'm a bit confused as to why my saved objects are not persisted after retrieving it once in Realm. Below is the main object which I am using to save the inputs by ...
Musikero31's user avatar
  • 3,115
0 votes
0 answers
13 views

My ArcSegment doesn't actualize on Xamarin.Ios

<Path x:Name="PathCircle" Stroke="Black" StrokeThickness="17" StrokeLineJoin="Round" TranslationX="125" TranslationY="530"> ...
Antoine21000's user avatar
0 votes
0 answers
30 views

Xamarin iOS not automatic close the application after build

My Xamarin iOS Project not update the app automatically when running the app on the emulator. 3 days ago everything was fine. Every time I click the start button, the app closed and install the new ...
Yohanim's user avatar
  • 3,339
0 votes
0 answers
24 views

Xamarin iOS Error simctl returned exit code 4

Three days ago, my app ran well and deployed smoothly to Emulator on my mac until today when I tried to run again, my apps cannot run with the error Error on Visual Studio Severity Code ...
Yohanim's user avatar
  • 3,339
0 votes
1 answer
23 views

How to add controls for the Auto resizing label based on height and width in .Net Maui

I have a frame of Height & Width is 50 and i have added label "Test" it should have been in greater size, if i have add "TestTheAutoSize" it should auto adapt the size of font ...
Abhi's user avatar
  • 85
0 votes
1 answer
32 views

How to make my animation more smooth/fluid in Xamarin.Ios (C#,Xaml)

I try to make a automatic scroll for a label who cannot fit totally fit in a Box View, so I use two list of char, one visible and the other not and switch char from one to other, that wasn't smooth at ...
Antoine21000's user avatar
1 vote
2 answers
66 views

How can I make a Label scroll automatically in Xamarin.ios (C#, Xaml)

Her's my problem I have a Label (metroLabel) included in a BoxView (BoxLabel), who can display a lot of information, more than the box can fit, so I would like to make the label scroll automatically ...
Antoine21000's user avatar
0 votes
1 answer
67 views

Is there any way to launch iOS MAUI app the classical way, same way as it was with Xamain.iOS, with storyboard, omitting any xaml pages?

MAUI is actively evolving these days and lots of tutorials appear every day, however, as the main focus is multi-platform, there is almost no specific details about running native apps in classical ...
Agat's user avatar
  • 4,597
0 votes
0 answers
30 views

Prefer Xamarin button Clicked event as priority over TouchAction: works in Android, fails in iOS iPhone

I have a Xamarin page with a TouchAction event and some ImageButtons (HorizontalGrid and VerticalGrid). Each of these ImageButtons has a Clicked event. I work with MS Visual Studio, Here is the XAML ...
Ikenna's user avatar
  • 11
0 votes
0 answers
33 views

How can I create just a part of a circle in Xamarin

Image I would like to recreate So here is what I would like to have, to get the green circle I create 2 circle one green and one white to "erase" the center and I create a white box to hide ...
Antoine21000's user avatar
0 votes
1 answer
38 views

Change Notification Content Extension Interface Size Xamarin iOS

I've implemented a notification content extension in order to get action buttons to show up properly in my app. All I need for my notifications is the default header and the action buttons, no ...
Tyler Wanta's user avatar
0 votes
0 answers
62 views

xamarin ios app crashes on physical devices

I have application posted on testflight. It works on android and on ios simulator, but on all iphone's its crashing on application starts. I have crashlog Exception Type: EXC_CRASH (SIGABRT) ...
avveshka's user avatar
0 votes
0 answers
21 views

iOS WKWebView: PostMessage/EvaluateJavascript breaks file input

I'm working on a Xamarin mobile app, where the iOS version uses a WKWebView for its UI. Our user input handling works by passing JSON-serialized messages between the app and frame within the webview. ...
user3678429's user avatar
0 votes
0 answers
35 views

How to implement Wallet Extension in Xamarin.forms?

I am trying to implement Wallet Extension in My xamarin.forms App. foreword: I connected my App to Apple and now I can add some internal cards to native Wallet App. It works good. According the ...
Igor Strekha's user avatar
0 votes
0 answers
23 views

IOS App VOIP Push Recieved After Device Turns On Fails To Report

I have a IOS app made in Xamarin that has VOIP Push capabilities. I am trying to replicate What's App VOIP call funcationality. So when I turn off the IOS device and turn it back on and then try to ...
Kwasi Asante's user avatar
0 votes
0 answers
58 views

Visual Studio for Mac 17.6.3 won't open storyboard

I have updated macOS to version 13.5.1, Visual Studio to version 17.6.3, and Xcode to version 14.3.1. I have an older Xamarin.iOS project that was created in 2016. While the project can build, and I ...
ayberkzeray's user avatar
0 votes
1 answer
27 views

Xamarin carplay supported ios app crashes when starting

Our app crashes as soon as it is launched after carplay integration. if i install directly (from ipa) it works. But if I install from testflight it crashes. If you remove <key>...
Mehmet Sandıklı's user avatar
0 votes
0 answers
37 views

Approach to have a SSO like flow in mobile app web view for accessing web pages after authentication using OIDC

Have implemented OAuth2 based authentication flow using open id connect in our cross platform mobile application. Need to access web pages within our mobile app web view/ browser but the mobile web ...
Fahadsk's user avatar
  • 1,099
0 votes
0 answers
24 views

Why do I have Thread started: <Thread pool> appearing without explanation in Xamarin IOs

My code is working but I have this who appear in my Console, is there a problem in my code or is it normal, I develop an app IOs on Xamarin using Xaml and C# I think that each time I open a page or ...
Antoine21000's user avatar
0 votes
0 answers
27 views

Can't build my xamarin ios project due to of provisioning profile error

We develope multiple Xamarin apps. On Android devices works everything fine. The problem comes with iOS. Testing the app on the simulator works totally fine, but deploying my app for testing purposes ...
grabnerM's user avatar
0 votes
0 answers
47 views

UseMauiEmbedding causing NavigationController to become Null

Trying to embed a MAUI contentView into an existing migrated Xamarin project (now migrated to .Net7) For the iOS build when running and the builder.UseMauiEmbedding is commented out it runs fine and ...
Stuart Allen's user avatar
0 votes
1 answer
59 views

How can I change the size of Xamarin Switch?

The default size of an Xamarin Switch is too big, so I wanted to make it smaller. I tried setting HeightRequest = 20, but it doesn't work on any platform, like UWP, iOS. Is there a way to change the ...
renintx's user avatar
  • 15
0 votes
1 answer
73 views

Xamarin android 13, Popup permission notification and Popup

enter image description here Hi developer, Can i call this function for check permission and request permission popup in other file cs ? spesifik permission notification, photos and videos At the ...
Dimas kursiana's user avatar
0 votes
0 answers
36 views

How to show notification when app is updated from a data push message?

I have a xamarin forms ios app that is using the FirebasePushNotificationPlugin. I want to store data from a push notification and it seems that the only way to have it do something when the app is ...
scott lafoy's user avatar
  • 1,001
0 votes
1 answer
60 views

Failed to resolve "System.Diagnostics.PerformanceCounter" reference from "System, Version=4.0.0.0"

I am getting MT2002 error after moving to VS2022 when setting Xamarin.iOS project to ad-hoc to generate .ipa file. I am not using System.Diagnostics.PerformanceCounter and not referencing it. Linking ...
Ika's user avatar
  • 201
0 votes
1 answer
20 views

Mapbox SDK v10 on vector tiles / custom interceptor don't work

I am trying to setup own instance of interceptor for MapboxSDK v10 using Xamarin.iOS. public class MyMBXHttpServiceInterceptor : IMBXHttpServiceInterceptorInterface { public IntPtr Handle {...
boski's user avatar
  • 1,116
0 votes
1 answer
81 views

How to include all icons in Xamarin.iOS / Xamarin.Forms IAP for App Store app icon A/B test?

I'm trying to run app icon A/B test on App Store, but other icons are not displayed on "Product page Optimization" page. As I see on the Internet, ...
Yura Babiy's user avatar
0 votes
0 answers
21 views

Xamarin.Forms: Looking code sample for receive and send push notification with Amazon Simple Notification Service

I have gone through the links below as I spent most of the time implementing the code and configuration related to push notification with Amazon SNS in Xamarin.Forms, but I am unable to achieve it. ...
Yashwant Singh Rathore's user avatar
0 votes
1 answer
41 views

iCarousel iOS with reduced size views on the sides

I am trying to create a circular carousel. I would like to always show 3 at a time. One view is centralized and the other two (the previous and the next) on a reduced size like the image below: I am ...
Gustavo Baiocchi Costa's user avatar
0 votes
0 answers
49 views

How can I detect a screen scroll on xamarin for an iOS app

Here is the function in .cs that I want to change, that actually work with a slider and I would like to change it for a screen scroll or a drag or something that could detect a slide on my screen, the ...
Antoine21000's user avatar
0 votes
0 answers
51 views

"Unable to install" on iOS with error "Application is missing the application-identifier entitlement" when compiling with xcode 14.2 xamarin.ios 16.0

We have an old school xamarin forms app that is being built using Azure DevOps. We were using the macOS-11 image for iOS builds which defaults to xcode 13.2.1 and xamarin.ios 15.4. But, Apple is now ...
webwires's user avatar
  • 2,572
0 votes
0 answers
61 views

Localization in Xamarin.iOS

Not able to get localization work. Not sure what is missing. Project directory in Visual Studio So I have the story board in Base.lproj and created .string files through Xcode in resources/lang.lproj ...
Gith's user avatar
  • 3
0 votes
1 answer
55 views

Xamarin.forms iOS app signed with invalid signature when deploying in debug on device

Steps to Reproduce Set Apple signing to automatic with correct team for app bundle id Build and run to actual ios device Expected Behavior App built and signed and debugging on ios device. Actual ...
Bishokouts's user avatar
1 vote
0 answers
32 views

Xamarin.iOS, Info.plist - App Icon setting - is set back to None after Saving and reopening the file

I'm facing an issue in my Xamarin.Forms iOS project, and I'm hoping someone can help me to resolve it. (Visual Studio Mac, Xamarin forms) Problem Summary: In my Xamarin.Forms iOS project, I'm having ...
TheJake's user avatar
  • 11
0 votes
1 answer
45 views

Set both track and thumb colors for on and off state for UiSwitch in Xamarin.iOS

I want to have a switch with the colors reversed for On and Off state. Say in ON state, thumb color = blue and track color = red, then in OFF state I want to have thumb color = red and track color = ...
Gith's user avatar
  • 3
0 votes
0 answers
22 views

How to solve could not find provisional profiles for bluetooth.xamarin.ios

I am building a solution on visual studio and I get an error that says” could not find any available provisioning profiles for xamarin.ios on IOS I was able to set a provisional profile in .IOS file ...
Abdulswamad Mzuzuli's user avatar
0 votes
1 answer
43 views

iOS:Screen is not updating its size after changing portrait to landscape and vice-versa orientation in iOS (iPad, iPhone) using Xamarin.forms

**Packages ** -Xamarin.Forms(5.0.0.2291) -Xamarin.Community.Toolkit(2.0.4) Controls xct:TabView Expected Behavior -xct:Tabview items should automatically update its layout to match the device ...
VG8's user avatar
  • 1
0 votes
1 answer
19 views

Visual Studio error HE0004 Could not load the framework 'DVTItunesSoftwareServiceFoundation'

I am using Visual Studio Community 2019 16.11.28 on windows that is paired to a MacBook and I am trying to deploy an IOS application to an ipad. Every time I launch to the ipad, I run into error ...
CzarT2's user avatar
  • 1
0 votes
0 answers
47 views

sharpie bind command gives error 'Foundation/Foundation.h' file not found

I'm trying to create a binding library for the GoogleMLKit/TextRecognition. For that first I created a Xcode project and installed the pods and tried to run sharpie bind command to generate ...
WarKirin's user avatar
0 votes
2 answers
33 views

xamarin form ios doesn't display devexpress scheduler

I have a xamarin form project which implemented Devexpress scheduler on it and works well on android, but when I run ios on mac visual stodio, the page is blank and it doesn't even display the ...
Mah's user avatar
  • 69
0 votes
1 answer
87 views

Distributing iOS app to appstore, "Asset Validation Failed"

I'm trying to distribute my iOS app to appstore using xamarin and visual studio for mac. After archiving and pressed "Sign and Distribute" I get 3 errors, all of them say "Asset ...
rgd's user avatar
  • 15
0 votes
1 answer
38 views

Does Hot Restart works in .NET 7 for iOS? (without MAUI)

I'd like to learn to develop iOS apps using just Visual Studio on Windows and an iOS device. I learned that it's possible to do this if I use MAUI. Is it possible if I also just use .NET 7 iOS app (no ...
JamesL's user avatar
  • 351
0 votes
1 answer
19 views

Xamarin iOS can't launch first view controller without a storyboard and using MVVMCross 7.0.0

After I updated mvvmcross to v7.0.0 in my xamarin ios app, I can't get it running. It just freezes in the splash screen and doesn't launch the first view controller. I checked AppDelegate and Setup ...
Projetinho's user avatar
0 votes
0 answers
71 views

MTOUCH : error MT2101: Can't resolve the reference 'System.IntPtr CoreFoundation.CFString::CreateNative(System.String)

I get the following error when I try to archive my Xamarin.IOS app for publishing: MTOUCH : error MT2101: Can't resolve the reference 'System.IntPtr CoreFoundation.CFString::CreateNative(System.String)...
Stijn's user avatar
  • 11
0 votes
0 answers
24 views

Visual Studio won't remove Apple's 2FA

I have a personal copy of Windows 10, with Visual Studio 2022 downloaded on it that I use for work. I had been using it to build company 'A's iOS app through a Mac Mini on my LAN. I now am working for ...
NSGangster's user avatar
  • 2,407
0 votes
0 answers
35 views

Hiding a popup in a webview

I am new to iOS programming (Xamarin). I want to show a view when a link in a popup in a webview is clicked. (image attached)Popup picture if(msg == "Settings") { ...
Gith's user avatar
  • 3
0 votes
1 answer
100 views

Using Braintree with .NET MAUI

I'm attempting to use Braintree inside an .NET MAUI app. In Xamarin, I previously used the NAXAM Braintree libraries, but they appear to be deprecated and not updated to .NET 7. My solution was to use ...
Andrew's user avatar
  • 1,390
0 votes
0 answers
26 views

Xamarin.Forms: Force Screen Rotation on iOS 16

I want my Xamarin.Forms App to launch the Login Page in Portrait Mode. On Android everything works perfectly fine, but since iOS 16 the approach to force the screen orientation just doesn't want to ...
Lisa Maria's user avatar
1 vote
0 answers
63 views

Visual studio mac Automatic Provisioning failed: An App ID with Identifier 'aaa.bbb.ccc' is not available. Please enter a different string

I am trying to upgrade my iOS native application to Mac Catalyst. Had to make platforms folder with iOS and Catalyst folders and in proj file I specify that it usesmaui 'true'. When I choose automatic ...
Access Denied's user avatar
-1 votes
2 answers
31 views

When ToUpper is used for entry text entering is getting late

For login screen in user id entry field if entered small characters also making it uppercase by using ToUpper() and displaying. Making ToUpper() taking time to display text in user id field. Is there ...
Palle Srilaxmi's user avatar

1
2 3 4 5
332