Online/Offline status indicator UI element for ios [closed] - iphone

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.

Related

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.

Game rejected by AppStore [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 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.....:)

clicking outside button is working in iphone sdk? [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 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).

Best way to change XIB files based on rotation? [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 5 years ago.
Improve this question
My app has so far just been a portrait-based application. However, I am adding landscape mode to a new version, but have found that my XIB files look shocking when rotated from portrait to landscape. Apparently I need to make a landscape version of each XIB and use some code to change with XIB launches based on what rotation occurs. Am I right? If so, where do I go from here? Are there any Apple sample apps utilising this code?
FYI - My XIB files just have text in them.
Thanks.
If you have a complex view, the automatic resizing may not work well enough. If so, your best bet is to have separate views loaded from separate nibs for each orientation.
To set this up, see here: Easiest way to support multiple orientations? How do I load a custom NIB when the application is in Landscape?