This is a migrated thread and some comments may be shown as answers.

Missing information in Slide Drawer Getting Started

2 Answers 104 Views
SideDrawer
This is a migrated thread and some comments may be shown as answers.
N Mackay
Top achievements
Rank 1
N Mackay asked on 29 Oct 2015, 11:52 AM

Hi,

There's an important step missing in the documentation for this: 

http://docs.telerik.com/devtools/xamarin/controls/sidedrawer/sidedrawer-getting-started

In iOS, after init of TelerikForms in FinishedLaunching you need to do:

 

new Telerik.XamarinForms.PrimitivesRenderer.iOS.SideDrawerRenderer();

It doesn't compile for ARM7 to a physical device otherwise.

 

Kind Regards,

Norman.

 

 ​

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavel R. Pavlov
Telerik team
answered on 30 Oct 2015, 10:34 AM
Hi Norman,

Thank you for contacting us on that matter. I checked the referenced article and the instruction steps clearly state that the SideDrawerRenderer for iOS should be initialized before any other initialization (Xamarin or Telerik). I tested the code on device and it works as expected. In my opinion the referenced article leads users to correct setup of their project. I created a sample project following the instructions described in the article and tried to deploy it on iPhone 6, iPhone 5S and iPhone 6S and the code works as expected.

Are you saying that there is an issue when you try deploying on a specific device? If so, what is the exact device that you tried deploying to?

Regards,
Pavel R. Pavlov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
N Mackay
Top achievements
Rank 1
answered on 30 Oct 2015, 10:44 AM

Hi Pavel,

My mistake, I don't know why I missed that, I think in previous documention the full namespace was referenced so it was clearer. I honestly did miss that line.

I did have an issue with the samples, the only way I could get it to deploy to hardware in iOS was to take my build settings from an existing iOS csproj file and manually edit the SDK iOS proj file, otherwise in Visual Studio 2013 it didn't allow me to swap between simulator and ARM7/iPhone etc.

 

Thanks for clarifying,

Norman.

Tags
SideDrawer
Asked by
N Mackay
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
N Mackay
Top achievements
Rank 1
Share this question
or