i've been searching for a solution from 3 days and i haven't got a right one. I added 26 buttons for 5s screen(programatically)and also the scrollview,but after running what found was the scrollview is not at all scrolling neither on 5s nor 4s.
Thank you for your concern,finally i got the solution that i was looking for,the mistake i did was i added a scrollview to the view and later added buttons to the scrollview which resulted a malfunction,instead i added a second view to the scrollview and added buttons to the second view and finally it worked.