[TIMOB-9841] iOS: Allow to hide Network Activity Indicator
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-15T11:10:30.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | Sprint 2012-15 Core, Release 2.1.2, Release 3.0.0 |
Components | iOS |
Labels | core, module_app_properties, qe-testadded |
Reporter | Davide Cassenti |
Assignee | Max Stepanov |
Created | 2012-06-29T06:43:48.000+0000 |
Updated | 2013-07-15T11:10:30.000+0000 |
I don't believe we should offer this feature. Users should always be aware of when network activity is occurring. Apple's Human Interface Guidelines have very strict rules about displaying the network activity indicator: bq. Display the network activity indicator to provide feedback when your application accesses the network for more than a couple of seconds. If the operation finishes sooner than that, you don’t have to show the network activity indicator, because the indicator would be likely to disappear before users notice its presence. https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/MobileHIG/UIElementGuidelines/UIElementGuidelines.html#//apple_ref/doc/uid/TP40006556-CH13-SW1 Note that Apple's guideline of "more than a few seconds" is nebulous. On a radio device an access which would normally take "a few seconds" may be substantially longer due to signal. We should always display the activity indicator.
Test case:
PR pending https://github.com/appcelerator/titanium_mobile/pull/2646
https://github.com/appcelerator/titanium_mobile/pull/2646 merged into master
Verified fixed with: Titanium Studio, build: 2.1.1.201207271312 SDK version: 2.2.0.v20120813184911 Devices: iPad3 4G (5.1.1) iPhone4 (4.3.5)
Reopening to edit fixVersion
PR https://github.com/appcelerator/titanium_mobile/pull/2752 merged into 2_1_X
Reopening just to updated label.
Updated label and Verified with: Titanium Studio:3.1.2.201307091843 Titanium SDK: 3.1.2.v20130710144553 acs:1.0.3 alloy:1.1.3 npm:1.2.14 titanium:3.1.1 titanium-code-processor:1.0.1 OS: OSX 10.8 Device:iPhone simulator(v 6.0), iPhone4 (v 5.1) Xcode: 4.5.1 iOS: Allow to hide Network Activity Indicator