Is there a way to create a numeric badge in Trigger.io's native tab bar?
I'm looking to achieve something like so:
Good idea! No, not currently - you could, of course, have a bunch of different icons there and switch the button out when the count changes, but it's not ideal.
I'll add it to our backlog.
Related
I want to keep autocorrect, but the QuickType bar obstructs screens in my app and I'd like to disable it or at least make it hidden by default.
Currently no. Apple likes to give those kind of setting to the user; not developers. If you really need it off, you would have to design/create a Custom Keyboard.
My app is in landscape and uses a UINavigationController as its RootViewController. My goal with it is:
Disable the normal iOS StatusBar ( I know how to do that and already did it )
Have a semi-transparent StatusBar (a view) above the UINavigationBar, so that I can show custom information on it
Parts of the content of my main view must be visible underneath my custom StatusBar (exactly like it works with the normal UIStatusBar, just that I don't want the clock and battery and want to show my own information on it)
How can I best achieve this?
A quick search on GitHub gave me multiple libraries that offer the exact functionality you are looking for.
MTStatusBarOverlay
KGStatusBar
CWStatusBarNotification
FDStatusBarNotifierView
BWStatusBarOverlay
WTStatusBar
TWStatus
Try them out, test them and see which one is best for you.
If none of them are good enough, you should get an idea on how to achieve this functionality using the source code those libraries provide.
iOS 7 Human Interface Design, page 143 says:
Don’t create a custom status bar. Users depend on the consistency of
the system-provided status bar. Although you might hide the status bar
in your app, it’s not appropriate to create custom UI that takes its
place.
iOS Human Interface Guidelines
I would like to create a notice bar, like the active-phone-call notice bar, whenever my user losses connection to my server.
Is there an easy way to do this? Can't find it in the API, but there must be some supported way - or should I program it manually?
Example: The difference being I want it to be active while in my app and I want to define the text myself.
There is no direct API available for doing this, but you can change the status bar color like this
self.window.backgroundColor = [UIColor colorWithRed:0.78f green:0.13f blue:0.11f alpha:1];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackTranslucent];
and add another view below with your custom text.
Or, if you just want so put some information in the status bar with a custom color, take a look at KGStatusBar or MTStatusBarOverlay.
You can set a window at the statusbar level and actually replace the phone's status bar with your own, if this is what you are asking. The way this can be implemented is found here
However keep in mind that your app may be rejected by Apple in that case.
A lot of apps, are using this for showing for a brief moment some information on the status bar position, then they show the status bar again. The Groupon App was actually doing this and was displaying a UIPageControl when you swiped through their different UITableViews to show you how many UITableViews are available.
Here's a decent library I came across the other day called "KGStatusBar, A minimal status bar for iOS." https://github.com/kevingibbon/KGStatusBar. I haven't tried it yet but glancing at the source it seems solid.
Is it possible to customise the topbar and tabbar button backgrounds in trigger.io?
Specifically, I'd like to be able to specify the 'active' state background, rather than the default.
However, I suspect this isn't within the scope of what trigger.io is aiming to achieve.
Currently, no - those backgrounds aren't configurable.
If it's urgent for you, this could be achieved with a native plugin. If that's not an option for you, this is the sort of thing we could and would add to the tabbar and topbar modules ourselves: get in touch at support#trigger.io to discuss timescales.
I have a special case in my iphone app where I have to display a badge on a tappable UI element and not in the tab bar ... is that acceptable ? I read the iOS guidelines and it says that a tab bar can display a badge (red oval) but they didn't mention any point stating that it should be placed specifically there (tab bar)
And if that is a bad UX practice, should I design a custom icon that looks like the badge and use it in my specific case ?
Thanks in advance.
Best Regards,
If they say a badge can be shown in the tabBar this does not mean that it can't be shown somewhere else.
This is not uncommon and definitely not a bad practice. Badges are not used only for navitagation events (in tabbar).
If something is not forbidden by the guidelines, then it's permitted.
However, be sure the application still follows basic iOS design and you don't implement it in some non-standard way if stardard solution would be also possible.
For example, look at the iOS Mail application. It's a split view where every mail box in the main controller has a number with unread messages. Well, that's basically a badge.
You can't do that, I recommend you to use this customBadges: http://www.spaulus.com/2011/04/custombadge-2-0-retina-ready-scalable-light-reflex/?lang=en