I am trying to have my own left/right nav buttons show for my fancybox. I do not want to use fancybox's nav controls. For some reason, I cannot get my buttons in the content area to show outside the lightbox. Any suggestions?
Related
So I have this navigation title, and I tried to align some buttons with it using .toolbar. But Whenever I lower it with some extra padding on the top (so that they can be aligned horizontally) the buttons stop being able to be clicked. Is there some kind of area around the navigationTitle where I can't hit buttons? How do I fix this?
You can add views including buttons to the Navigation bar using .naivgationBarItems(leading: View?, center: View?, trailing: View?)
I have set hideSideBar=true and still in mobile and tablet mode the bottom bar with save and cancel flickers when selfVM.save is called. There is a bottom bar even when not saving hiding content in mobil and tablet mode.
How can I hide the bottom bar?
You can always add a CSS rule that hides them.
I am trying to zoom a scroll box which is similar to the one here
http://www.quackit.com/html/codes/html_scroll_box.cfm
in a UIWebview.
Assume that I have set the above page as URL for my UIWebview. can I zoom inside the scrollbox ? I am able to zoom the entire webpage by setting the scalesPagesToFit = YES.
I tried setting the delegate of UIwebview subviews which are UIScrollViews to self and returning self.webview in viewForZoomingInScrollView. But I am not able to achieve it.
Is it possible to zoom a scroll Box or a scroll area in HTML page in UIWebview ?
I achieved zooming by handling the mouse move event in Javascript file and I am scaling the appropriate DIV. Now, the problem is that, I am not able to scroll the scaled content horizontally. My HTML page has position: fixed in CSS and I changed that to relative and tried giving overflow:auto and scroll. , overflow-x as scroll. But still the issue is not resolved
I am working on a app that requires scrolling implemented in Our Choice iPad app from Push Pop Press.
Has anyone implemented the nested scrolling like that?
Updated:
There are two scroll views, one on top with paging and another at the bottom. The top one specifies the Chapters and bottom one corresponds to the pages in the chapter.
So when you swipe to next page of top scroller the bottom one moves accordingly to show it pages. And you can scroll bottom scrollview to view the pages on it. Also when you are at the last few pages of the bottom scroll view and try to scroll then it changes the page at the top scroll view and update the bottom scroll view as well.
Here is the demo video of the app
http://vimeo.com/22872218
I have a toolbar, where I want to have one UIBarButtonItem centered and have another on the very right. However when I add the button on the right, my centered button gets shifted further to the left (see attached). I can't figure out how to get this resolved without using code (I would like to use interface builder only). Any ideas?
To do this in just IB, add a fixed bar button item to the very left of the bar that's the exact same width of the 'switch camera' button, followed by a flexible button, your camera icon, another flexible space, and the switch camera.
So it would look like:
|--fixed space--||--flexible space--||Camera Button||--flexible space--||switch camera|