iPhone Development : Magnifying glass of a UITextField is empty - ios

The Magnifying glass shows up, but is empty (white)!
On iOS simulator, it is working fine.
Any clue ?
Thanks,
Jonathan.

Sorry for having asked, but after a LOT of research, I found this question already :
In iOS7 Text Magnifier isn't working app wide
For me, the problem was also that for historical reason, another UIWindow object was instanciated.
j.

Maybe it's due to the frames not being with the right size in the UI editor at Xcode.
Check for warnings of compilation time and see if you have problems in your storyboards or xib files.
Also, are you running iOS simulator of the same type of your device? If not, you might be missing to test it there also!

Related

UITableView separator issue in Simulator

A simple code is made in Objective-C like showing some data in a tableView. But when I run the code in iPhone 6 plus/7 Plus, separators are missing and while scrolling its like flashing. I don't know about the real device.
I tried to find a solution and I found that changing native resolution will help me.But I don't know how to do. Can anyone guide me step by step?
Or any solution?
Not an issue!
Your code will execute perfectly on the real device.
This is not an issue.
UITableView separator is shown in your simulator.
If your simulator was zoomed out means that will not visible thickness. You can zoom in your simulator and check it. (click to zoom Window + 1)
In Real devices, the separator will defiantly show.

Custom font displaying on iOS Simulator but not on Storyboard

"I have my custom fonts working fine when they are running on the simulator, but is there any way to view custom fonts in the storyboard itself while I'm working? My text doesn't match the size of the default font so I have to keep compiling and running the code and eyeing the correct size by trial and error over and over.
I've seen a few questions hit on this, but it's just bringing up how to upload custom fonts."
I have copied paste this question from Viewing Custom Text in Xcode Storyboard since it describes exactly what I am having trouble with but he had XCode 4 and I have the 5th version. Is there any solution for the XCode 5?
Unfortunately this is a well established bug. Custom fonts do not appear correctly in Interface Builder. You should file an enhancement request with Apple. Until they fix it, you'll just have to live with it.

iOS - iPad layout top/botton spacing doesn't seem to do what I tell it to do

I am creating this screen:
But when I run things, I get it to look like this.
If you notice, the space below/above some elements looks off. Would anyone know why thing happens and how to fix this?
Thank you!
If you're asking about why the buttons look the way they do, that is because your storyboard is set to be viewed as "iOS 6.1 and Earlier", so you're seeing the interface elements as the appear under iOS 6.1 -. Then when you run the application on your iOS 7 simulator, these same elements appear as they do in iOS 7 +, which you can see is quite different.
Then as far as the alignment problems go, I suggest you read through the 80 iPad storyboard related warnings that Xcode is generating and fix your constraints.

iOS XCode Storyboard controls moved and now look strange in simulator

I am following the course on iOS through iTunes university and working on the calculator project. I moved the controls on the storyboard to make room for another control at the top. Everything looks fine on the storyboard but when run in the simulator, controls are bunch up, on top of each other, and some are clearly off the top of the simulator screen. This leads to the following very related questions.
How does one move controls around on the storyboard? I went to the size inspector of each control (buttons in my case) and changed the 'Y' value (increased it by 10). I did this for each control. I didn't think about it as I was doing it because as I said, all looks fine on the storyboard. Is there a better way to move controls around? I could not figure out how to grab more than one control at a time and move them. Grabbing all and moving or all but one and moving would have been ideal.
I anticipate someone is going to say, "We need more info. " How do I show the storyboard? Is there a xml file somewhere? How is the storyboard saved? How should I show the results of the simulator?
In general, what the heck is going on? Why would things look so different in the simulator?
Is there a better forum/group to ask newbie questions about iOS programming?
My specs are these:
XCode 4.5.2
Ios simulator versions set to 6.0 and iPhone
Any other info needed? Thanks in advance,
Dave
Try setting your simulated device size to 'freeform' instead of 'inferred'. This screen is a bit smaller so the controls are no longer overlapping. The latest xcode sets it by default to ios6 (screen size of iPhone 5)
edit For a better insight in xcode IDE, please refer to the documentation provided by apple (includes screenshots for clarity)
https://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/000-About_Xcode/about.html#//apple_ref/doc/uid/TP40010215

iOS accessibility hint not being spoken on an Text Field

We have created a very simple app using storyboards which contains a single screen with a Text Field. I have set the Accessibility Label and Hint on the Text Field however when I deploy the app to my iPhone, Voiceover only reads out the Label not the Hint.
I am assuming this must be a bug, has anyone seen similar behaviour?
Note we were developing using Xcode 4.2 under Lion and deploying to an iPhone running 5.0.1.
Thanks
without looking at your code, that's kind of hard; this article is quite in depth and explains Voiceover, Labels, and Hints very well:
http://mattgemmell.com/2010/12/19/accessibility-for-iphone-and-ipad-apps/
I am seeing this behavior on iOS 5.0 and 5.1, but it appears to be fixed in iOS 6.0.

Resources