Wouldn’t it be nice to display dots at the bottom of the Third scene (see image below) letting the user know how many pages of images there are. Further, the user should be able to scroll the view by swiping the current image or a dot. Well, to perform above mentioned tasks, you’ll have to launch […]
In this workshop you’ll learn how to implement the Scroll View control’s paging function; which enables your app user to view screens of images or text by scrolling (panning) the view horizontally (left and right only). Workshop Objectives In this workshop you will modify the ThirdViewController class and scene to enable the user to view […]
The zooming function of the Scroll View control enables the user of your app to use pinch gestures to zoom an image or text content in and out. Workshop Objectives Last week you learned how to scroll (pan) a large image vertically and horizontally. In this workshop, you will learn how to implement the zooming function […]
Say you have a large image that you want to display on the device screen, since it is requires more real estate than what the device’s screen allows for, you’ll have to make the scroll View’s contentSize the same as the Image View’s size like this: self.scrollView.contentSize = self.imageView.bounds.size; By doing that, the user will […]
Last week you learned how to make controls you placed on the Scroll View scroll vertically and horizontally without regards to the fact that the keyboard is obstructing the active control. The user had to scroll the view to see the control the keyboard is blocking. Workshop Objective In this workshop you learn how to […]