my app crash, please help !

Member
Posts: 178
Joined: 2008.09
Post: #1
Hi.
some body on itunes, post that my app stop when runing.

my question is, why app some times stop.
is there a Device problem , or app problem managin memory ?

if I use more than 30 UIView, and jumping between them using buttons to show text and png.

how can I clean the memory (the easy way)

I appreciate very much your answers.

my iphone website: http://www.elsalvadorguia.com
intel Imac 20", iphone 8GB (2G)
Quote this message in a reply
Moderator
Posts: 508
Joined: 2002.09
Post: #2
Try to reuse UIViews instead of creating them for each state of your application? Release the views that you are not using? Listen to the didReceiveMemoryWarning delegate method and take some actions?

We can't tell you much because we don't know what you are doing and how your code looks like.

"When you dream, there are no rules..."
Quote this message in a reply
Member
Posts: 178
Joined: 2008.09
Post: #3
thanks

My app is a book with more than 40 pages
Each pages is one UIView
And each page has a picture background
And text and buttons to jump between pages (UIView)

I will put here later the project

One more time thanks

my iphone website: http://www.elsalvadorguia.com
intel Imac 20", iphone 8GB (2G)
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #4
This is not the best way to present this information, You should be using one view and loading new content into it.

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Member
Posts: 178
Joined: 2008.09
Post: #5
but I don't know how to do it
Please could you showme how
Or some to start please ?

I know just the basic very basic of objetiveC
And very basic Xcode

Could you give me some idea or sugestion
( for dummiess) how reuse an UIView please ?

I will apreciate any help

my iphone website: http://www.elsalvadorguia.com
intel Imac 20", iphone 8GB (2G)
Quote this message in a reply
Post Reply