CNContactViewController discard message Xamarin - ios

I have same issue as described in this post
CNContactViewController iOS 13 Discard Message and Keyboard
but i'm working with xamarin
and i've added Localizable.strings like this:
and content in this file:
Any way I still cannot make it work and accepted answer in the link above does not work for me.
What am I doing wrong?
UPD:
the problem is that the text of discard action sheet looks like this and it is not human readable. adding Localizable.strings into Base.lproj didn't help

ok, after long search, i`ve found a solution.
to make it work i've added to info.plist values described in official xamarin documentation.
https://learn.microsoft.com/en-us/xamarin/ios/app-fundamentals/localization/
and now it works perfectly. but it is not obvious solution
PS: and for the future, Dear commentators, don't answer in such manner: "I created a new project and just open the CNContactViewController, everything works well on my side. I can't reproduce the issue" - It doesn't bring any useful information. better no answer than answer like this.

Related

How to implement universal link in ios 9.0 or above?

Using Branch code for universal link implemented in Xcode but no luck lingering around since long plz help.
You need to provide more details about your problem to help you, like error message, code snippet etc, is hard understanding the problem that you have with generic question.
By the way please check apple official content to understand how Universal links works and how to implement this
Reference material:
Seamless Linking to Your App
https://developer.apple.com/videos/play/wwdc2015/509/
Extend Your App’s Presence with Deep Linking
https://developer.apple.com/videos/play/wwdc2017/250/
https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html

Can't see debug info Xcode 6.4?

I think I've accidentally removed some kind of setting or something on a project level. In project A I can see debug info, but in project B I can't see a damn thing while debugging. Local variables can't be expanded to see what they contain, and neither variabels located in self.
As stated earlier, it works fine in one project, but not at all in another. I have no idea what I've done, or how to solve it. I asked around with a few coworkers and none has experienced this before. Kind of need to fix this in order to work efficiently.
Here is a screenshot displaying what I mean:
I don't have any variables in self here, but if I add some or store some, it doesn't work anyway. I can't see anything in self since I can't expand it at all.
Help appreciated!
I found the solution for this. Or rather I found the issue. The issue seems to be with either Xcode 6.4 and above, or GoogleMaps in general. When importing GoogleMaps SDK the debugger stops working properly. Simple as that. Comment out your import of GoogleMaps SDK and the debugger will be back to normal.
Another way of solving this is to bridge GoogleMaps SDK from ObjC to Swift rather than importing it in Swift. I didn't try this, but I saw this as a possible solution here: https://code.google.com/p/gmaps-api-issues/issues/detail?id=8524
Hope it helps someone. Took me days to find this information.

Today View Extension (Widget) not working

I found several other threads with similar problems, but no one has exactly the same problems.
Besides it DID work some time! the errors now keep occurring while it was working some time before..
When Running my app, that has a build Target "Today View Extension", I get no actual result.
The Extension is shown in Notification Center, but has no body (Simulator AND device).
Also when I try to run the App (not the target extension) and attach the process manually by PID I get this error:
I also had the error that my Extension (that has a "Bundle Display Name" entry in Info.plist for a custom Name) did show the Name of the Extension-containing App, and not the string that was set in the Info.plist
Strange thing is that sometimes it worked, sometimes it doesn't, but when it does not there were like five different reasons why not.
I want to ask people who have similar/same problems to post them here to collect all the issues appearing and possibly collect workarounds / solutions for these problems.
Thank you.
For anyone having troubles now:
With beta 4 and beta SDK 4 a lot of bugs were fixed:
[self setPrefferedContentSize:]
to set the views size is now working properly (if you have troubles viewing your Extension)
If your updated Extension is not showing in Notification Center be sure to have a look at the log output, there you can see what task the debugger is attached to, if there is "no Selection" try stopping and running again, it will work after some tries!
If you have questions feel free to ask,
Happy coding
I don't exactly have a solution, but I've observed this happening when anything is "wrong" with my Today extension. For example, if I don't have a file properly targeting the widget. I'm guessing that instead of just crashing to the home screen, iOS just gives you an empty widget? I've written about my own issues here, for reference.
I had similar issues. But it seems to be alright now. Since the "Today View" is an extension and is bundled with the containing app, you should just build and run the containing app. From there, you can pull down the "Today View" and if your widget / today view is not added, add it.
You should be able to see all your updated changes without a problem with this and you won't have to attach any process.

QR De/Encoder SIGABRT error (switching between de/encoder)

hey guys i have to make an app for my school project which includes reading an creating of QR Codes...
No Problem so far. I started with making a tap bar application so that you can switch between the two settings.
I'm using the ZBarSDK to read the Codes and that works so far...
for creating the codes i am using the kuapay-iOS-QR-Code-Generator and that worke also...
but if i combine them in my app i get the SIGABRT error after switching between the views :/
i hope you can help me i uploaded the whole project, so that everybody can see the problem directly!
Link: http://www.mediafire.com/?01acxgitv27uj9n
I hope you can help me :)
I had the same problem, have you disabled the armv7s architecture in your build settings? Also, have you made sure to connect all your outlets to appropriately declared properties? I'm fairly new too, and I would have made this a comment instead of an answer, but it seems I don't have enough rep to do so/ can't find the link to comment.

How to set URLSchemes for facebook ios sdk

I've spent a whole day on this issue and didn't find any good answer after hours of googling and debugging. I've finally solved the problem and I will share it here.
The documentation for setting up facebook-ios-sdk shows how to set up a url scheme that is used to return the user to your app after authorization. Something like fb12087732691...
Unfortunately, they are using an older version of Xcode and the graphic looks like this:
What it really should be, using Xcode 4+, is this:
Hope this saves someone a few hours of their life!!!
There's a AppName-Info.plist file in your project. Open it and you will find the similar stuff. It's universal for Xcode4+ (as far as I know).

Resources