On 30 Jan 2014, at 04:05, Rick Mann <[email protected]> wrote:

> I've seen behaviors like this with other apps, i.e. the Google Hangouts app. 
> The keyboard will be active from a chat, and I'll leave the app. Then I'll 
> get a notification that a message came in, go to the app, and there's some 
> period of time before the keyboard becomes responsive.
> 
> I think I only see this in iOS 7. On 6.1, it's much faster, but I'd be 
> curious if you see the same difference in your tests.

I do not have any device with iOS 6. But I am absolutely certain that had I 
seen this delay in iOS 6, I would have investigated it (as it is so annoying); 
which means that there was no noticeable delay before iOS 7.

> 
> On Jan 29, 2014, at 07:02 , Gerriet M. Denkmann <[email protected]> wrote:
> 
>> 
>> I have an app with a button.
>> I start the app, then put the iPhone to sleep.
>> I wake the phone up and press the button repeatedly, until something happens.
>> 
>> There is an NSLog() in applicationWillEnterForeground: and in the action 
>> method of the button.
>> The time difference between these two is 1.1 ... 1.4 seconds.
>> 
>> Did the same with Time Profiler in Instruments: 1.357 seconds elapsed time, 
>> Running Time 0.044 sec.
>> That is: my app was doing nothing for about 1.3 seconds.
>> 
>> This is really annoying: one wakes up the phone, the app looks responsive, 
>> so one taps the button - and nothing happens.
>> One has to wait a second, tap the button again - and then it works.
>> 
>> How can I find out what is going on?
>> How to avoid this?
>> 
>> Gerriet.
>> 
>> iOS 7.0.4
>> 
>> P.S. Made a new Single View Application (which has nothing except a Done 
>> button in a Toolbar at the bottom) and did run it on iPhone 4s:
>> 
>> 2014-01-29 21:52:55.540 TestRestart[624:60b] -[T1RAppDelegate 
>> applicationWillEnterForeground:]
>> 2014-01-29 21:52:55.552 TestRestart[624:60b] -[T1RAppDelegate 
>> applicationDidBecomeActive:]
>> 2014-01-29 21:52:56.949 TestRestart[624:60b] -[T1RViewController 
>> donePressed:]
>> 2014-01-29 21:52:57.157 TestRestart[624:60b] -[T1RViewController 
>> donePressed:]
>> 2014-01-29 21:52:57.365 TestRestart[624:60b] -[T1RViewController 
>> donePressed:]
>> 2014-01-29 21:52:57.557 TestRestart[624:60b] -[T1RViewController 
>> donePressed:]
>> 
>> Again a delay of 1.397 beween applicationDidBecomeActive and the first 
>> reaction to my button.
>> 
>> 
>> 
>> 
>> _______________________________________________
>> 
>> Cocoa-dev mailing list ([email protected])
>> 
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>> 
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/cocoa-dev/rmann%40latencyzero.com
>> 
>> This email sent to [email protected]
> 
> 
> -- 
> Rick
> 
> 
> 


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to