开发者

Objective C - prevent feel of unresponsiveness when clicking a button [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 9 years ago.

Improve this question

What tricks 开发者_如何学Gocan I do to make my app feel "snappier"?

For example, when I click on a menu button, which loads a different nib file, there is this 1 second delay before the new view shows up, making it feel like the app isn't responsive.

Thank you,

Tee


You could reduce the nib load time by simplifying the content or making some of it load after the view controller appears on-screen.

You can run Instruments on it to try and get an idea of where the choke point is. If it feels unresponsive, compared to other apps, then maybe you're doing something wrong or computationally expensive.

Check that your images are sized correctly. If they're too big that'll up the load time + memory usage.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜