Hi i am trying to replicate A UItabbar being hidden and showing while scrolling much like how the pinterest and google + apps do it. I found a quick emulation on git hub by tony million https://github.com/tonymillion/ExpandingView . it works great but theres a problem and its huge for me. if you rapidly scroll up and down you will see a white bar at the bottom while the tab bar is hidden. if you scroll normally everything works fine. but as a programmer i don't want to worry about that white space on the bottom showing up. I searched around and noticed others were getting the same problem. if theres anyway this can be fix i would greatly appreciate it. thank you.
Related
When moving the iPhoneX simulator I have tried clicking and dragging at the top, bottom and both sides and even all the corners but sometimes it works and other times it does not.
Why is this so random?
Where is there best place to click seeing as though there is no discernible bar like in other Mac applications
Putting this question up because it has been frustrating me for ages and maybe it will alleviate someone else's stress out there in dev-land.
So trick question actually because you can click and drag from anywhere, BUT the trick is dragging in the direction away from the simulator first then you can drag it wherever you like.
The problem here is when you click and drag towards the screen first it gets picked up as a swipe event. Thats what you want to avoid.
WRONG
RIGHT
Anyways hope this helps somebody.
Happy coding :D
If, like me, you can't get the accepted answer to work, choose the Window > Show Device Bezels menu item. The virtual device will get a normal window title bar which you can drag around.
This isn't really related to coding or programming, but when I scroll in a Windows Application, such as Microsoft Word or Notepad++, the view becomes very distorted. Please refer to the preview below.
http://imgur.com/j4IqA4W
The problem has been occurring for several days now but was never an issue previously. It seems to occur in all text editors I use, seen in Microsoft Word in the above preview but also observed in Notepad++.
If someone has experienced similar issues or can advise me with this problem, I would be very grateful. System specs are as below.
http://imgur.com/NgT4qlB
Thanks in advance!
UPDATE: This seems to be an issue with my scrollpad. The problem does not occur if I scroll by dragging the scrollbar or if I scroll using a USB mouse with a scroll wheel. Any suggestions?
I see this weird progress bar in AppStore on Yosemite, which keeps disappearing all the time. When you switch tabs, it is there for some seconds, then gone again.
Out of interest, I tried to figure out, what kind of bar it is and why that is happening, but can't find anything similar on google images.
In IB there is only the NSProgressIndicator, looks different and cannot configure it to look like the AppStore bars, so I guess they are using sth else?
The disappearing effect is happening on all Yosemite devices I know .. saw it happen both in the Mac AppStore and in the XCode->Preferences->Downloads screens.
Not sure anymore about iOS, but thought I saw it there too.
Any idea what element it is and what the folks at apple might be doing wrong?
I moused over it with the Accessibility Inspector, and it appears to be a Web view. So that progress bar is probably styled in HTML and CSS, and is not a native control.
A download bar because you are downloading.
[EDITED] After spending a couple of days on a iPad app (utility s/w for myself; not for release), I accidentally clicked on disabling size classes in Xcode (6.2). I only want to turn off Auto Layout temporarily so I could figure out why my popover scene was not rendering.
Now, all the UI elements are gone but the guidelines for both the main scene and the popover scene are still around. History seemingly shows nothing that will bring back the UI elements. I closed the Xcode project and opened it again, but only the red guidelines are visible.
Has anyone run into this? Any idea how to fix this? [EDIT] I'm referring specifically to the UI elements and getting them all back -- else I'm going to have to spend a couple of hours reconstructing and positioning them. I browsed StackOverflow and Google Search but I've not seen any relevant suggestions.
First, when disabling auto layout it will disable the size classes as well.
I would suggest that you update your Xcode to 6.3. Then that will probably be gone.
Hope that helps :)
Edit
regarding the comment
First off I would print the frames of the UIElements to see whether they are still on the screen. (Using `println("(button.frame)")
Then, if they are not there, change their frames / centres) to somewhere on the screen.
If they are in the bounds, check their sizes to make sure they are large enough to be visible. If they are then make sure they are not hidden and their alpha is 1.
In storyboard you can open the side-bar and then change the element's position in the Attributes inspector as shown here:
First, the links are to screen shots of my "problem". Stackoverflow would not let me post images b/c I don't have at least a 10 reputation.
I am not sure what I did.
Shut down my computer, I think there was an OS X update pending that installed. When I went back to my Xcode project it presented the normal screen
https://docs.google.com/file/d/0BzpqJUv4HwzCbldESkRnZHR0Tk0/edit
But then when I went to open it up the following screen w/o the editor or any of the normal layout opened up.
https://docs.google.com/file/d/0BzpqJUv4HwzCZ2ZJOF9fSzAybUk/edit
I tried tinkering with the layout and view screens, but no real help. Not sure what happened. Any help would be most appreciated. Basically, it seems like I am missing the editor and utilities panes.
Thanks,
You see that little button with the left arrow and two vertical lines at the right upper end of the "Groups and files" view? Click and drag it left, see it this can help.