Hey guys I am new to iOS coding and am trying to design an alarm clock with multiple view controllers. For that I'm trying to link view controllers with buttons and it works very well but whenever i add a label and linked that label with code the segues don't work i searched on the net for solution but no luck a little help here will be appreciated thank you
Asked
Active
Viewed 43 times
1 Answers
0
What are you trying to do ? Click on the link and transfer to another view or pass the label to the next view ?

baliman
- 588
- 2
- 8
- 27
-
I am trying to click on link and transfer to another view i want to keep the label on the main view itself on the sub-view i used date picker to set the time – Kaustubh Shinde Oct 15 '14 at 13:41
-
I think this is just what you are looking for http://stackoverflow.com/questions/4743457/how-to-customize-uilabel-clickable – baliman Oct 17 '14 at 12:50
-
Well thanks but its bit complicated to understand so here are the screenshots i guess looking at them you will know what i am looking for:- preview 1 - http://i61.tinypic.com/33v2m28.jpg : in this as you can see there is working clock now using that button i want to navigate at next view. Preview 2 - http://i60.tinypic.com/2uyioti.jpg : in this i connected button to next view using segue but as you can see the segue don't work when i try to click. But when i remove the clock along with its code then segues work. I don't want to transfer data just move to next view – Kaustubh Shinde Oct 21 '14 at 05:11
-
i tried connecting view controllers programatically instead of using the built in segues but that also don't work. – Kaustubh Shinde Oct 21 '14 at 05:17