I've added a bottom toolbar using a ToolbarManager which shows in the 9800 and 9520(which have a similar screen size) simulator but not in the 9930 simulator. I haven't tested this on an actual 9930 and do not currently have a way to do so either, but this behavior is weird so far. I've used the standard code given on BB dev site:
bottomBar = new ToolbarManager();
bottomBar.add(new ToolbarButtonField(ImageFactory.createImage(Bitmap.getBitmapResource("a.png")), new StringProvider("Button 1"));
//------------------more buttons and other fields------------------------//
setToolbar(bottomBar);
What could be the reason why it isn't visible?
It is a known issue with Bold devices (e.g. 9900, 9930, 9790) that they don't have a toolbar even though ToolbarManager.isToolbarSupported() returns true.
Related
I just recognized that I can see thru the iOS Simulator if an UIView is defined with (semi-) transparent content. But I can not make a screenshot of it, on the screenshot the effect is gone.
The (custom) navigation bar on top has alpha set to CGFloat(0.9).
Here a screenshot taken with an iPhone 6:
Zoom in and you can see thru the simulator window on Xcode. I assume this is a bug, or is it intended behavior of the OS X transparency effects? If it is intended, can I turn it off?
Ok, I have found the problem. Actually it is not a transparency effect but a display problem. I am using an iMac 27inch with an IPS LCD display, which suffers heavily from "screen burning". Xcode is standing on this position for hours so it burned in into the display. That's why I can not make a screenshot - it is a hardware problem.
https://discussions.apple.com/thread/5255653?tstart=0
Yeah this is going to be a hardware / screen problem. Should not translate to your app.
I would like to make screenshots of my app in IOS-Simulator. This works fine with CMD-S, but I have always black parts in my screen, because the windows is not autosized to the simulated devices screensize.
Is there a way to autosize the window to fit with the screensize of the simulator ?
Screenshot:
The white part is the content of the device. The black is obsolete and is a window from the MAC. When taking the screenshot from this, I still have to cut out the content to have a good screenshot.
This used to happen in earlier to iOS SDKS when you don't set a launch images for all devices.
In your case, I think you don't have the launch screen file set. this can be solved by setting that file at general section in the target's settings.
Alternatively, set launch screen images for all devices.
Check my answer here.
One more thing to try: At the top bar in simulator. choose the
Window menu then Scale and play with those values.
I solved it the following way, but I don't know what was the reason.
I removed the launchscreen as hasan83 suggested. This did not the trick yet.
I restarted the MAC
I started XCode ("Xcode"->"Open Developer Tools"->"IOS Simulator")
I started the ios simulator without starting my app. -> MAC-Windows fit with the simulated device screen
I started my app and now it looks as intended.
Thanks for helping to all involved people !
I've been working on an iOS application and I came a cross with a bizarre behaviour.
This happens in iPhone 4 and 4S (I've not been able to test in iPhone 5 or 5S) but doesn't happen in the emulator or others apps in the same device. The interface is native (it's not a webapp).
Have anyone came across with this black spot?
EDIT: It happens in every TextField (secure or not)
I had the same issue, and just solved it for myself.
In my app, I'm presenting different modes of my app in different UIWindows, which involves creating different windows and changing which window is key and visible.
The text fields with the black eyeglass showing up were in a certain window, whose windowLevel = UIWindowLevelNormal.
Changing my keyWindow's windowLevel did the trick for me:
keyWindow.windowLevel = UIWindowLevelNormal + 0.1;
Voila somehow it's working... I hope this helps!
I have an iPad app. When I used it in iOS 5 or 6 its working fine and the UI also seems to be fine. But the same in iOS 7 a black bar on top, bottom, left and right of the screen appeared. Including on the splash screen.
I had tried it by hiding status bar of all views.But I cant fix the issue.
- (BOOL)prefersStatusBarHidden
{
return YES;
}
Can any one know what is the reason?
The same thing happened to me as a result of downloading the latest version of Xcode
and all I had to do was adjust the frame of my view as it was altered during the download. It's so simple I didn't even think to try it.
How big are the bars? Is there any chance this is actually an iPhone retina app and this is iOS 7's new automatic scaling for the iPad's bigger display instead of the old '2x' mode?
Also, does it behave like this in the simulator and if so, can you post simulator shots of it running under iOS 6 and iOS 7?
See here for what I mean : http://www.iphonehacks.com/2013/07/ios-7-uses-retina-assets-of-iphone-only-apps-on-non-retina-ipad.html
Guys. Please help me.. I've searched everywhere, but couldn't find a solution.
I'm using Xcode 4.3.2 and have the IOS 5.1 simulator installed.
The problem is the iPad simulator doesn't show the iPad's frame, just the contents. So, the home button isn't visible, thus can't be pressed.
But, unlike the iPad simulator, the iPhone simulator works fine.
Please help, guys..
Thank you
Use ⇧ + ⌘ + h in place of the home button.
If you need to make the screen smaller, use ⌘+3 or ⌘+2 for the smallest and smaller screen sizes respectively.
Actually, I (and a colleague) have been seeing intermittent behavior, with the bezel sometimes showing up, and sometimes not, for the very same project (same version of iOS - 5.1, same build settings, etc). This happens even when simulator is set to show a normal (non-retina) iPad... sometimes it has the bezel, sometimes not.
So I doubt this is intentional design.... seems like a bug to us.......