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 push one view controller from one controller.But i did not press back button in navigation bar.when i click the area which is below, back button
is working,poping viewcontroller is happening? how can i overcome this problem?
This isn't a bug, it's by design. Apple make the hit area of the back button bigger than the button itself so it's easier to tap.
I suggest changing your design so there are no buttons directly underneath the back button (Apple never put buttons there in their own apps).
Related
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 7 years ago.
Improve this question
I am trying to build my first app using Xcode stroyboard. The first view is just a label in the centre of screen of the view controller. But in iOS Simulator only the left half of the screen was shown: the label was shown at the right edge of the simulator screen, looked like simulator cut off the right half of the screen.
Anyone knows how to make the simulator to show the whole screen with the same format as in view controller?
This definitely looks like an autolayout problem.
Hold ctrl.
Click and drag from label to corner of view controller.
Click center horizontally in container.
Repeat steps 1-2.
Click center vertically in container.
Take a look into this source to learn more about autolayout. (It even shows the problem you're having from the start.)
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
I want to add an online/offline indicator control to my ios app. I need to be able to programmatically set the status to offline (red) or online (green). Will NSLevelIndicator support this usecase? Or should I go with a label. This seems like an easy enough ask, but could not find anything.
Try to place a UILabel or UIImageView within your app's layout (e.g. in your navigation bar, if your app has one).
Just as a side note: Don't aim for the status bar (if you meant the signal indicator). It's a mess to handle icon placement in respect to device orientation and other possible displayed icons. Besides this, there's a risk your app is being rejected by Apple, if you manipulate the status bar.
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.
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.
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 developed a card game using cocos2D and recently uploaded its binary in the appstore.I used some CCtransition effects in the game when we move from one scene to another.The appstore rejects the binary with the reason "when the user taps on any of the tabs at the bottom of the launch screen, a full screen transition is produced".What can i do now?Is CCTransition,the problem?
A tab bar should change the content that's contained in another part the page, and should not transition the tab bar itself. If your tab bar buttons fire a full-screen transition, that's a violation of the Human Interface Guidelines.
If they think that its a violation of the Human interface Guidelines then instead of tab bar make some new design buttons and put then at bottom of your game.....:)