Error in the code you posted. Your zombie post says your vkLogin link is bad. Therefore, you need to look at which class creates and contains a reference to your vkLogin class.
This class should do something like vkLogin *foo = [[vkLogin alloc] init];
Update:
Based on your comments, it looks like you are creating a local variable for vkLogin . It would be very helpful to see what code creates and uses vkLogin and what it is called. Considering this, here are a few guesses.
You call a method that creates and adds vkLogin to a subView more than once. (Each time will create a new instance). You have some kind of callback that can happen after uninstalling vkLogin .
My guess is vkLogin should be a property in your class, not a local method variable.
in your .h you would @proprerty (strong, nonatomic) vkLogin *vk;
and in your .m file you can refer to it as self.vk so that you create it and add it as a subtitle, for example:
self.vk = [[vkLogin alloc] init]; [self.view addSubview:self.vk];
The note to the agreement says that we must start the class names with a capital letter, so you would name the class vkLogin , which would be easily distinguishable with a variable called vkLogin (but worry about it after you solve the problem)
source share