PeterStaev / NativeScript-Drop-Down

A NativeScript DropDown widget.
Apache License 2.0
105 stars 65 forks source link

Dropdown list doesn't work on iOS #123

Closed Yurrili closed 7 years ago

Yurrili commented 7 years ago

On android it works perfectly, but the same code doesn't work on iOS. it looks like normal label with no action after interacting with it. No error in logs as well.

I have installed version 3.0.3 of NativeScript and I'm running app on iPhone 4s emulator.

PeterStaev commented 7 years ago

Hey @Yurrili , is the error reproducable inside the demo project in this repo?

Yurrili commented 7 years ago

@PeterStaev Hey, I cannot run the demo due to error "We have failed to check if we need to add a compatability LaunchScreen.xib due to: Error: ENOENT: no such file or directory, open '/NativeScript-Drop-Down-master/app/App_Resources/iOS/Info.plist"

PeterStaev commented 7 years ago

I'm not sure I understand this error. The demo is a fully working project that you should be able to just clone and run.

Alternatively can you provide a sample app that demonstrates the problem.

Yurrili commented 7 years ago

So this error "We have failed to check if we need to add a compatability LaunchScreen.xib due to: Error: ENOENT: no such file or directory, open '/NativeScript-Drop-Down-master/app/App_Resources/iOS/Info.plist" has shown after running command "tns run iOS" on newly downloaded demo.

Sample app is in this zip on dropbox: Link. It works perfectly on Android.

PeterStaev commented 7 years ago

I've just tried the application and for me it works ok - after tapping the drop down the list appears at the bottom: simulator screen shot aug 8 2017 12 34 22 pm

Yurrili commented 7 years ago

That's weird, for me it's not working at all. Im running it on emulator. But okay, anyway, thanks and sorry for bothering you.

PeterStaev commented 7 years ago

@Yurrili , the screenshot is from iPhone 4s sim running iOS 9.3. I suggest to delete your node_modules folder, run npm install and tns platform clean ios and try again.