zacaltman / zaactivitybar Goto Github PK
View Code? Open in Web Editor NEWAn easy-to-use activity bar that's meant to non-intrusively display the progress of a task.
License: Other
An easy-to-use activity bar that's meant to non-intrusively display the progress of a task.
License: Other
I was updating my app to be iOS 8 compatible. Somewhere in my app, I am using ABPeoplePickerNavigationController, but I notice, once presented, it doesn't respond to touch at all. After trying lots of things, I've managed to find out the reason. overlayWindow is on top of the presented view and since it's not hidden, you can't touch views underneath it. For now, I simply hide the overlayWindow whenever HUD is dismissed, and unhide it when showing.
I am almost end of my app completion stage. So the resolution of this bug is very important for me. Cause I have used ZAActivityBar at many places.
Issue:
Lets say I have used [ZAActivityBar showWithStatus:@"Dummy"] at any place of the application and I have successfully dismissed it using dismiss method. So, the problem is in one of the screen I have to show MailComposer. I am just presenting mail compose view controller normally without any use of your activity bar. But my MFMailComposeViewController completely in freezing state. There is no way i can go back. I have to terminate at the end.
To verify this issue that this issue is due to the ZAActivityBar. I started my app again and I quickly navigated back to the screen where I am using MailComposer and at this time I have never used ZAActivityBar in App Life cycle so now its not freezing. It's working absolutely fine.
Please fix this issue asap. I am running in my Appstore submission week.
Is it possible to access the sharedView method ? I'm trying to fix the issue with MFMailComposeViewController
If you call showWithStatus
and then call dismiss
in quick succession after, the dismiss animation won't play and the ActivityBar will get stuck on the screen.
I could look into this if I have time, but just letting you know.
Version on CocoaPods.org is at v0.1.1 which was tagged at faa6a56
five months ago.
I'd open a PR but all that needs doing is to tag a build and update CocoaPods.org to use the newest branch.
Edit: If you want to use the current version without keeping a local version you can update your Podfile
entry to something like this:
pod 'ZAActivityBar', :git => 'https://github.com/zacaltman/ZAActivityBar.git', :commit => '1e60646e0b'
Hey,
Thanks for this great component!
I would live to use it in my RTL app.
I tried working it out by myself but I only managed to do so in the old version..
Thanks!
please tell me how to reduce the width of zaactivity bar?
It would be useful if this could handle device rotation changes.
I'm currently using it on an ipad app and the notification will always display in portrait regardless of device rotation.
Tested on iphone 4 & ipad3
I would like to be able to position the Bar slightly higher so that it doesn't cover the toolbar or I would like to be able to place it at the top.
Hi,
I've got a problem that when I use showStatus:forAction, first time after app launched, ActivityBar is correct, but after second time showStatus, it's width increase 256pixel, and third time increase to 256 + 256, I disable autoresizing mask UIViewAutoresizingFlexibleWidth, it won't increase width but position is weird...could you please check this problem? thanks
The last feature for me that would make this already great control complete: add the ability to show several activity notifications at once.
When an operation is running and another one is being added concurrently, it would be cool to be able to display that extra operation.
One way would be to stack activity bars (but then there would be a limit to 2 or 3 so that it doesn't fill the whole screen) like those notifications in android 4.
Another way would be to display a default text in the bar (like "2 operations running..."), maybe with a badge with that number on the right, and with a tap on it you can expand that view to see the details of the running operations (in smaller font size).
To make this work you'd have to change the interface of your class that now relies on a singleton object.
I like how simple and clean it is to use now and don't want to see it getting too complicated.
I suggest those small changes:
This is the warning we get when compiling ZAActivityBar with xcode 4.6:
ZAActivityBar.m:169:33: Implicit conversion from enumeration type 'enum UIViewAnimationCurve' to different enumeration type 'UIViewAnimationOptions' (aka 'enum UIViewAnimationOptions')
UIViewAnimationCurveEaseIn is of type UIViewAnimationCurve whereas the 'options' parameter of 'animateWithDuration:delay:options:animations' is expecting a value of type UIViewAnimationOptions
The correct value there should be: UIViewAnimationOptionCurveEaseIn.
Please anyone tell me how to How to add uibutton on ZAActivityBar ?
Is there a way to update the text in the current activity bar?
My use case is a simple progress display with percentage value:
Uploading... [17%]
that needs to be updated several times until the current operation is complete.
I tried calling showWithStatus on every progress update but -- may be due to issue #1 -- the text in the bar wasn't updated.
I would like that text to be updated without seeing the dismiss animation of the activity bar every time, so maybe there needs to be a updateStatus method for that very purpose.
Cheers.
Please submit the project to CocoaPods.
Thanks
Hi there, first of all thanks for this control, it is very useful.
I would like to be able to define the position where the activity bar appears: I would like to be able to set it above my tab bar (so that it doesn't prevent people from interacting with the tab bar while it's displayed).
This would ideally be a method to set the height between the bottom of the screen and the bottom of the activity bar, or else a define like those in the header file.
I suppose I could just set a new frame to this customised uiview, but it would be cool and perhaps safer to be able to set it using a control's own method (to avoid problems with slide out animation for instance).
I think ZAActivityBar is awesome but I am having hard time using it because it blocks the bottom portion of the app where other information like iAd is displayed.
Have you consider putting in the cetner as an option?
Just an enhancement suggestion.
Thanks,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.