Posts

How to solve Xamarin intellisense problem in Visual Studio?

Image
Hello guys, today we will learn about how to solve the intellisense problem in visual studio.After the recent update of Xamarin in which PCL projects are updated into the .netStandard framework projects,most of the users are getting problem in intellisense especially in the Xaml files. In order to solve this problem you just have to follow the simple steps which are mentioned below: > Right click on the .netStandard project and unload the project.                                                     > Select the Edit (yourprojectname).csproj file.  > Comment all the code which contains  Condition=" '$(EnableDefaultCompileItems)' > Save the file and Reload the project. > Rebuild the solution and everything works like charm. Note: If there is problem while rebuilding or the intellisense still not working than just restart the visual studio and clean all the projects and try rebuild again.

How to deploy app on Iphone (Xamarin Forms)

Image
You must need a subscription of Apple Developer Account which is of 99$/year. We have to divide this procedure in 4 simple steps. a) First of all we will create a certificate in Mac(Signing identity). b) After signing in the developer account,we will create a new App Id. c) Add devices in the Device options in Apple Developer Account d) In the end we will create a provisioning profile and install it on the mac. a) First of all we will create a certificate in Mac(Signing identity).      There are 2 ways of creating a signing certificate    > Through Xcode(We will follow this approach)    > Through Developer Account   1. Choose Xcode Menu >Preferences... 2. Click the Accounts tab. 3. Click the + button and select Add Apple ID... from the popup menu:   4. If you have an Apple ID, enter the Apple ID and password, and click the Sign In button: 5. Otherwise, click Create an Apple ID and follow the steps to create a new Apple ID. Note that you will

Scrolling Problem ListView in ScrollView (Solved)

Image
ListView in ScrollView   Today am gonna show you the common problems we face while using listview in xamarin forms in MVVM. To check out how to Use MVVM in Xamarin Forms just  Click Here ! There is a common problem of Scrolling of ListView in ScrollView This is due to the fact is that Android cannot render both the Scroll properties of Scrollview and Listview. There are lot of solutions of this problems like custom rendering.But custom rendering is the one step which most of the developers don't like much.So I have come with an alternate solution or you can call it as some trick . Check Out The Following Code! Just Write All the Code in the ListView.Header property and your problem will be solved. This solution is efficient in most os the scenarios.But If you again facing some problem than Please Write Us In the Comments

FilePicker In Xamarin Forms

Image
Hey Guys  Today We are gonna learn about FilePicker. Some Apps requires to pick the file as well images from the External Storage Devices or in the case of ios iCloud. As We all know there are not much nugets for filePicker in Xamarin.Forms. But I have found a nuget and I find it very useful. First and foremost download the following nuget in your xamarin forms project Install-Package  Install-Package Xam.Plugin.FilePicker Now Check The Following Code FilePicker Plugin for Xamarin.Forms Simple cross-platform plug-in that allows you to pick files from the filesystem (iCloud drive in case of iOS) and work with them. Setup Available on NuGet:  FilePicker Nuget Install into your PCL project and Client projects. Platform Support Platform Supported Version Xamarin.iOS Yes iOS 6+ Xamarin.iOS Unified Yes iOS 6+ Xamarin.Android Yes API 10+ Windows Phone Silverlight No Windows Phone RT Yes 8.1+ Windows Store RT Yes 8.1+ Windows 10 UWP Yes 10+ Xam

FlowListView

Image
Hey Guys Today We are gonna learn about Horizontal Listview. During designing of any App we most probably use the  ListView Control. ListView Control is very Useful An Important control while developing any App. We Face many issues during working with ListView.But we have solutions too - > Check Here Horizontal Listview First and foremost download the following nuget in your xamarin forms project Install-Package DLToolkit.Forms.Controls.FlowListView Now Check The Following Code This Flowlist contains many properties and is very suitable for MVVM pattern.You just have to give it time and patience. For Any Queries And Suggestions. Please Write Us In the Comments

Xamarin Forms Prewier

Image
Hey Guys Today We are gonna learn about Xamarin Forms cool feature which is known as Xamarin Prewier.Xamarin Prewier is very useful tool in order to see the changes in the User Interface,while desiging the View.For more Info About Xamarin Prewier  Check Here  First Of All Update Your Xamarin.Forms to the latest version Visual Studio on Windows Use the  View > Other Windows > Xamarin.Forms Previewer  menu in Visual Studio to open the preview window. Use the  Window > New Vertical Tab Group  menu to position it side-by-side. XAML Preview Options The options along the top of the preview pane are: Phone  – render in a phone-size screen Tablet  – render in a tablet-size screen (note there are zoom controls at the bottom-right of the pane) Android  – show the Android version of the screen iOS  – show the iOS version of the screen Portait (icon) – uses portrait orientation for the preview Landscape (icon) – uses landscape orientation for the preview Pr

How to Use Media Picker In Xamarin Forms Portable

Image
Today  We will learn how to use Media Picker Nuget in Xamarin Forms Cross Platform First of all download MediaPicker nuget from this link. API Usage Call CrossMedia.Current from any project or PCL to gain access to APIs. Before taking photos or videos you should check to see if a camera exists and if photos and videos are supported on the device. There are five properties that you can check: /// <summary> /// Initialize all camera components, must be called before checking properties below /// </summary> /// <returns>If success</returns> Task<bool> Initialize(); /// <summary> /// Gets if a camera is available on the device /// </summary> bool IsCameraAvailable { get; } /// <summary> /// Gets if ability to take photos supported on the device /// </summary> bool IsTakePhotoSupported { get; } /// <summary> /// Gets if the ability to pick photo is supported on the device /// </summary> bool I