iPhone app dimmed and unresponsive after upgrading to Xcode 5 [closed] - iphone

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
After upgrading to Xcode 5, after compiling and executing an application, the screen appears dimmed and doesn't react to tap and pan gestures, both on a real device and simulator. Other similar apps compile and execute fine on iPhone. Anyway, it is not completely blocked. It's still responsive to Game Center, iCloud and rotation events. Strangely, it works fine on iPad.
Deployment target is set to 6.1.
Any hint?

I must apologize!
I've found the answer. Trying to figure out what could I had done wrong I realized that I had been trying changes on background color and alpha values of the main view and I did forget to leave them as they were before at IB. So, on changing alpha value of the main view, all its subviews appeared dimmed.
Responsiveness was restored by checking again "User Interaction Enabled" box. Don't ask me how could I uncheck it inadvertently.

Related

Getting Keyboard of ios6 in ios7 app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
When i'am running my app using ios7 i faces two problems:
1)Its status bar comes on UI.I have implemented the code in BoolDidFinishLaunching,which i got from google search but still problem exist the UI distorted from bottom of it.
2)Secondly,i am getting the same keyboard in ios7.Although ios7 has its own default keyboard.
Your app is working in compatibility mode, unless you don't compile it under xCode5 iOS7, so this is the default behavior, plus there are many issues being reported. To debug your app in compatibility mode on iOS7 check this question in SO:
How to debug app in compatibility mode on iOS 7?
For you issue number 1 i face same problem and here is its solution
iOS 7 - Status bar overlaps the view
For you issue number 2 you have to compile your code through xcode 5 only then keyboard and search bar and other UI components of iOS 7 will reflect.

New iOS 7 statusBar leaves a range 20px in apps compiled in Xcode 5 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
this week came out iOS 7 Beta , and whenever an update comes out these always have to update the apps for compatibility consetar some bugs.
Well, I installed iOS 7 on my iPhone and apps principle worked perfectly, then installed Xcode 5 (preview) and compiled my projects, I realized that the new statusBar now is totally calm, your view controller will appear as her background.
This is where the problem arises, a white band of 20px at the bottom of the screen, due to the view controller have won the space that was once the statusBar.
If I fix this problem in my storyboards is all right, but then the problem in iOS 6 because of the 20px statusBar there are still there and the screen will be cut off.
I thought the simple solution was to check the version of iOS on startup and create a storyboard according to each one. In my project I have 3 storyboards, iPhone 3.5', 'iPhone 4' and 'iPad'. Soon have to create 3 more storyboards so because these 20 px.
That would be the best solution? I have some other alternative?
Sorry for the long text. Any help is welcome!
It's actually a fix for an old bug. The earlier versions of Xcode didn't handle the status bar correctly so people set the window's Y parameter to zero. The correct value would be 20, the vertical thickness of the status bar.
I vaguely recall that there is also a parameter in Interface Builder that would let you specify that the status bar was to be present, which would add 20 to the Y parameter. This didn't work correctly either.
Now that the bug has been fixed all the older windows will be 20 pixels higher than they should be (basically up under the status bar).
The consensus on the Apple dev forums is that Apple will add a way to specify iOS6 vs. iOS7 behavior in Interface Builder to fix this problem.

What constriants do I need to fix in order to make this iphone app fit the 4-inch screen? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Please be very clear with your instructions as I have little experience with working with xcode and making apps in it. Here I am simply trying to make a old iphone app fit the 4-inch screen. I have already made all views into an autolayout and the view you can barely see already works. However, the UIImageView (as you can see below) does not scale to the entire screen like I would like. Thanks!
If you want you can read up Ray's tutorial. It shows exactly how to do this. You will need to click the sideways I/ the H at the bottom and click either: Leading Space to Superview or Trailing Space to: Superview. Or at the right side of your image, you need to delete the Leading Space... or the Trailing Space... click the little cog drop down menu and delete one and test it, make sure you are in the small 3.5 inch view then test it.

How can I show a circle around touches on an iOS device? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a presentation where I'd like to demo my application. I'm using AirServer to mirror my iPod to my mac which I will connect to the projector.
Android has an developer option of showing a circle when you touch the screen so the audience can see where the presenter is touching the screen. Is there a way to do the same on an iPod touch?
It may not be the best solution but you could create an image that you fade in that would put a semi-opaque covering over the screen with the exception of your desired touch/focal point.
Setting touchedEnabled to NO on the image would still allow you or a user to click the button, at which point you could check if the image is shown, if it is, fade it back out and continue your presentation
*If this is a feature you wanted to keep in your app i'd suggest setting an NSUserDefault value to mark a value that it has or has not been shown. Once a user sees the guided access, set that value to true and don't show again.

How to display full screen iAd on iPhone? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I just recently read that full screen iAd only works on iPad. Do you think it is possbile to show a
full screen iad banner before user to click it on iphone?
Full screen iAd are ADInterstitialAd available only since iOS 4.3 and for iPad ONLY.
Hope this helps
I just implemented iad and it seems that they only have landscape and portrait ad banners. But the Ad is Full screen. Once they click on it. It takes over the application and lets you know to pause.
Then lets you know when it is done so you can resume whatever. But again the Ad Banners are only Landscape or Portrait.
Full Screen ipad iad's are listed in the Programming guide .
iAd Programming Guide
Doing a tutorial will get the implementation out pretty fast. But you should go over the manual as well.