Has anyone attempted and succeeded in getting Apple's iPhone PageControl demo to render correctly in Landscape mode? -
I have had many success in programming the iPhone in landscape mode, but I am unable to run Apple PageControl demo Landscape mode And the content rendering correctly Demo AppDelegate uses a classified Visual Control Panel as a controller, which manages a UIScrollView, and creates a set of UIViewControllers for the content of AppDelegate ScrollView, Controller 1 per page. Apart from this, there is a UIPAZ control-object that manages the epidetalate.
I can get the demo code to run in landscape mode, but the content always render as if it is in portrait mode, so when the simulator shows that it is always in the device in landscape mode, page control always Is on the edge of the screen.
If someone has found the material to rotate properly, then I really appreciate how to do this job.
I think this does not work because the scroll is connected to the window, and the window is not It is an autorotate method like a sequence, it seems that if you put a scrollview in a scene and then look at that scene in the window, and the view controller is used to define the theoretorettoInterfaceOrmentation method, though this still works; Because of the pages The limit is now incorrect and it needs to be reset.
Comments
Post a Comment