remove the webView from myHTML

Member
Posts: 178
Joined: 2008.09
Post: #1
Code:
some body tell me this:
I bet the reason for your leak (memory) is that the reference counter of your webView object is larger then one, because you added it as sub-view to myHTML
Therefore your manual release won't be enough to destroy webView  (the myHTML still has a reference to it).
So you should remove the webView from myHTML.

please some body tell me how to do this please ?
realy , realy need any kind of help

my iphone website: http://www.elsalvadorguia.com
intel Imac 20", iphone 8GB (2G)
Quote this message in a reply
Moderator
Posts: 1,560
Joined: 2003.10
Post: #2
You can find the answer to this by reading the documentation. To survive as a programmer, it's essential to be able to find your own way around problems like this. We can't be there to help you every step of the way.

Also, please don't post a duplicate thread when you've already asked the same question in another one.
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #3
Plus posting your question to several forums is not the best way to write software.

http://forums.macrumors.com/showthread.php?t=621320

http://idevkit.com/forums/general-sdk/53...yhtml.html

http://www.iphonedevsdk.com/forum/iphone...#post36339

A lot of us read and moderate a number of forums and it is annoying to see the same post in several places.

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Member
Posts: 178
Joined: 2008.09
Post: #4
ThemsAllTook Wrote:Also, please don't post a duplicate thread when you've already asked the same question in another one.

so sorry !
i will try dont do it again, but this time I realy dying, all my app on appstore crash, i can Gift them to see the problem (with redem code). one more time thanks for your valuable help !

this is all my app on the store: but they are crashing if use for more than 4 minutes. because I don know how clean (release) memory. thats the reason to post like that, i have 7 days trying this, one more time sorry.
http://itunes.apple.com/WebObjects/MZSto...=293824811

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: #5
On another note from the provided link its very bad form to post 5 star reviews of all of your own apps.

As far as your problem at hand... Let me try and do this as nicely as possible, you should not have 7 apps in the store and not have a basic knowledge of memory retention. You need to have a basic grasp of how to program before you try and sell people your software. It is apparent that you are just copying sample code and selling software with it. You have 156 post 99% of which are asking for help with the most basic of problems. Learning is fine but selling your learning products in any industry is bad form.

Normally in the Mac environment I wouldn't have such a problem with what you are doing but with the iPhone and a controlled market place the more stuff that is released the harder it is for customers to find quality apps that others have worked very hard on. With no demos or trials on the App store you are destroying consumer confidence in buying software which hurts us all.

There are many free resources available for learning C, Obj-C and Cocoa on the iPhone. A great number of them are located on sites that you are posting on for help. Most people will have no problem helping other stuck developers out if they show that they are trying to learn. However you are constantly asking questions that have been answered elsewhere on the internet and can be found within the first few chapters of any decent programming book.

Just like with any other industry no one is going to do your work for you. We all have a lot of things that need to get done day to day and donate our time to helping out other people.

I apologize for being blunt, but I feel like it has been hinted at before and you haven't adapted.

The following links will help you resolve your problems.

Apple provided guide on Memory Management
http://developer.apple.com/documentation...yMgmt.html

Or a 3rd Party Guide
http://cocoadevcentral.com/d/learn_objectivec/

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Member
Posts: 178
Joined: 2008.09
Post: #6
first..... sorry.
my intention is not bother any body here. i promise !
but now , 2 months later, i have more knowledge.
on medical (2008 dicember), my apps took the first 5 position,
now on 2009january still on 15 position.

you can see too, i am not making question on any forum, i have 3 weeks not making questions, because i solve my problems....

i accept, some times copy and pasting, and some times studing the whole code, because i need to learn, if I want to take the best position on books and education.

i want to give people, better app like you. >I dont want to hurt any body,
and i want to make you a promise today, I WILL TRY TO LEARN.

put on my side, dont know english, i am using traductors, and try to understand the books in english, but i apreciate your hlp here !

I got days ago some books to learn C++ and Objetive C.

and last thing, I appreciate your patience and valuable help. some day i will try to help too, now with your words i can see the other side of the coin, that i am hurt developers, but i promise, i will try to make BETTER and better app. that people can say, this is a good developer.

if some body here wants codes to redeem on itunes to test my app , that are better now, and i have big progress with your help, i can give to you.

remember a litthe baby, 1 year old, starting and learning walk, often falls. and hurt, but some day i will walk, run.... and why not....fly !

one more time, thanks to you, all of you for this valuable help, and Thanks for telling me the truth, now i understand.

i will be more carfull developing, i promise.

and special to you KODEX, you are the most helper to me here on this forum.
Thanks you very much.

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: #7
Imaumac as long as we see you are progressing and trying we are always very happy to help out. I am glad to see you are moving in the right direction now.

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Moderator
Posts: 3,572
Joined: 2003.06
Post: #8
Don't feel too bad imaumac, the language barrier is really hard. It is very impressive that you've been able to do what you have so far. Grin
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  remove from sale (app) imaumac 1 1,930 Feb 2, 2009 09:47 PM
Last Post: kodex