ios-samples | Xamarin.iOS sample apps | iOS library
kandi X-RAY | ios-samples Summary
kandi X-RAY | ios-samples Summary
Xamarin.iOS sample apps
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ios-samples
ios-samples Key Features
ios-samples Examples and Code Snippets
Community Discussions
Trending Discussions on ios-samples
QUESTION
I am trying to implement a share extension to my Xamarin.Forms
app. And I followed these:
https://docs.microsoft.com/tr-tr/xamarin/ios/platform/extensions
https://docs.microsoft.com/en-us/samples/xamarin/ios-samples/ios8-share/
https://github.com/xamarin/ios-samples/tree/master/ios8/Share
And git repo above works when I run it. But I need to implement this for my xamarin forms project. So I did this steps:
1) I right clicked to my xamarin forms solution. After I select add, new project. And I created "Share Extension (iOS)" project. (I choosed .Net Framework 4.7.2)
2) A Share extension project is created with ShareViewController. I didn't do any change this.
3) I opened info.plist of new created ShareExtension project. And I paid attention bundle identifier. For example my xamarin project's bundle identifier is "com.xamarin.test" and my share extension project's bundle identifier is "com.xamarin.test.share-extension"
4) I selected MinimumOSVersion 10.0 of my main project and my share extension.
5) In my project,NSExtension is following:
...ANSWER
Answered 2020-Feb-06 at 13:37Can Deployment Targets be different?I added Share extension it worked directly. Info.plist also looks correct. Is Deployment Target iOS 12+?
Edit: First answer is another question's answer. Let's think as if it didn't never exist :)
QUESTION
I am trying to add inward sharing to an existing Xamarin.iOS project in Visual Studio. I have added a share extension project (using the template project in VS), however when I test on the device nothing shows in the OS sharing screen. I've built and tested a MS sample which works fine and does show on the device. I think the problem is that the second EXE for my app isn't being deployed at all when I test. When I press F5 to run the MS project on an attached device, the Build Output window includes lines such as:
...ANSWER
Answered 2020-Jan-06 at 16:57You need to reference the share extension from the main project to ensure that it is included in the built binary.
However, that won't grant that the app will appear while you share, you need to specify what your app receives in the info.plist
file of your share extension.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ios-samples
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page