i want to do something like this..
i have googled about this but didn't found a good solution or a tutorial.here what i need to do.i want to show a table view inside a alert view.i am not sure how can i do this. some blogs says using delegates we can do this. but i cant understand what are those.can some one clearly tell me step by step what should i do..i am glad if you guide me with code examples or links with great guidance.
thank you
EDIT
can anyone guide me to do this in ios 7... at least the steps i have to follow...
I used a library for adding a custom view to the alert view. In my case was an UIPickerView. Maybe it works with your Table View
Can download on that github link: https://github.com/wimagguc/ios-custom-alertview
Just use this code, after import the custom Alert View:
UIView *customView ..;
[alertView setContainerView:customView];
You following link download sample code and implement into your project may be solve your problem
Source Code Link Here.
Happy Coding
View this example
https://github.com/TomSwift/TSAlertView
it will help you
Related
Here is the link to detail code
Link of the Code that i have implemented
I use your code and added some TextInputLayouts there, the Indicator dots do show on top.
I think you should check the TextInputLayouts layout in layout1, layout2, layout3, layout4.
Here is the result:
I uploaded a sample project here and you can check.
Feel free to ask me any question.
I am not able to add this view on to the map view to be displayed ... I am working with the map view and I want to add a view on top of it... Here is what I have tried :
Here is my output :
As far as I can see, the map view is covering the icon view!
I tried this too but I got the same output! Please forgive me if this is a silly mistake, I am relatively new to using MapViews. Thanks a lot for your help and I really appreciate it!
I tried your suggestions too :
Thanks a lot for the help. I found out that
view.bringSubviewToFront(iconView)
worked properly and it turns out that the first time it was suggested, I had written it wrongly! I really appreciate your help! Thanks again!
You have to call view.bringSubviewToFront(iconView) in your viewDidLoad function.
Also make sure you have correct layouting / constraints for all your views.
Glad I could help!
You shouldn't need code to place a view on top of a map view. Just drag the icon view under the map view in the document hierarchy.
How can i do that in storyboard is there any library available which returns UIView to achieve that? Thanks in Advance.
I think you can achieve that by using UITableViewController - each cell would have 2 states: open and closed. When opened you'll insert a custom cell that has your design.
For more info you can look at this sample code provided by Apple.
Finally i found very easy library for same which return custom UIView object. please check This link for Accordionview. hope this help someone.
I wanted to integrate "iCarousel" into my project. Here is a screenshot how i would like it:
In the black view I would like the linear carousel.
So I implemented all the things how they did it in the example.
Now I receive the following:
Which means, that the View is now on the complete Detailview.
Maybe you can help me to fix that?
Greetings from Germany :)
Perhaps you need to set clipsToBounds = YES on the carousel view?
I am using Open Flow(Cover Flow) implementation of Alex Fajkowski https://github.com/thefaj/OpenFlow. I would like to a text lable under the images, which should update for each view. I still cant make it work. Would anyone be so kind and give me some further hints where exactly and how to implement this?
Best Regards Regen
Well theres a delegate method (selectionDidChange) that gives you the currently selected index. Hook up a textView to your view controller. Then update the textview in the delegate method "selectionDidChange"