I'm developing some iPhone application and I'm very frustrated when some of my applications published on hacked app resources. And anyone can install those apps for free.
So my question is: How to protect application from dumping into memory, running in debug mode and making hacked ipsw bundle? Is there source examples for that?
...
Do I need to use the external accessory API for this? Or are there other ways/possible at all using the SDK? I'd like to access the contents in a specific folder on a Mac from the Iphone. Thanks in advance.
...
Hello,
Is it possible to create adhoc network programmatically in the iphone? sothat other device can connect to it.
Best regards
John
...
Hi everybody!
I am trying to apply mask to my UIView. I have method on my UIView:
- (void) applyMask :(CGRect)maskZone :(NSArray*)gradientColors :(CGFloat*)gradientLocations {
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();.
CGContextRef context = CGBitmapContextCreate (NULL, self.bounds.size.wi...
Everytime I quit the app in the simulator.
The console display this error message:
* -[NSThread _nq:]: message sent to deallocated instance 0x6d770e0
Looks the app try to access an deallocated instance.
But I cannot find it anyhow, even using the instrument.
I can't find the line of code that cause the problem.
p.s. I have already tr...
In my iPhone app I need to connect to a web server as this can take some time I'm using threads like this:
[NSThread detachNewThreadSelector:@selector(sendStuff) toTarget:self withObject:nil];
- (void)sendStuff {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
//Need to get the string from the textField to send to ...
I'm thinking of writing an iPhone/iPad application to emulate a MIDI controller. I know there are already quite a few available but I still want to do my own. I have several questions about that:
I know a little bit about MIDI, but I've recently heard about OSC. Obviously MIDI is supported by almost all DJ software applications, but do...
Hi,
is there a way to play multiple movieplayer-view at the same time?
I´ve tested that with 3 different buttons which loads a video in there own view. But only one instance is playing at the same time. The other videos stops playing.
Is that true or did i something wrong?
Is that possible?
Thanks
...
here is the code
NSString* favPlistPath = [[NSBundle mainBundle] pathForResource:@"favs" ofType:@"plist"];
NSMutableDictionary* favPlistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:favPlistPath];
favArray = [[NSMutableArray alloc] initWithCapacity:100];
for(int i=0; i<[favPlistDict count]; i++)
{
//app is crashing her...
Hi all,
How can I send an HTTPS request from within my aplication?
Thanx in advance.
...
All,
I have a square region where I have two 45 degree triangles that are opposite of each other (i.e. mirror image). I've created a CGMutablePathRef for each triangle so I can use that as my clipping path when drawing an image. The problem is that I am getting a diagonal line in the resulting image that divides the two triangles. Ho...
Is the possible for multiple UIViewControllers working at the same time? Consider the following window:
+-----------------+
| +-----+ |
| | | |
| | A | C |
| | | |
| +-----+ |
| |
| +----...
Hi all!
Again a question about changing the interfaceOrientation of a UIView. The probleme that I have is changing the interfaceOrientation and I would like to avoid to do it manually, because I additionally have hidden views (those will appear with certain finder swipes) and I think it's a little bit tricky to transform all of them man...
Hi guys!
I have a hard time to understand my iPhone Application strange behavior in iOS4.
Exit my app with Home button -> applicationWillResignActive , didEnterBackground is called,
Open my app -> applicationDidBecomeActive , didEnterForground is called. Everything is normal here.
Exit my app with Home button -> applicationWillRes...
Hi,
I'm using a segmented control in the navigationbar in a tabbarcontroller app.
The problem is that after adding the segmented control to the navigation bar the title of my view disappears form the tabbarcontroller.
How do i work around this problem?
...
Hi All,
I am facing very strange problem. I have a View Controller with a table View. When code works on simulator and device on "DEBUG" mode than everything works fine. But when I run it on release mode on device then I got an exception which says tableView: cellForRowAtIndexPath must return a cell.
This thing does not happen on simula...
Hi!
I am using the SQLite Manager extension to Firefox to prefill my core data sqlite database.
But when i try adding more to the prefilled database my app crashes. I suspect it has something to do with Z_MAX for my entity in the table Z_PRIMARYKEY.
What should i set Z_MAX to? Is it supposed to be the number of items in my entity?
So...
Hello guys!
Here's my code to play sound:
NSString *filePath = [[NSBundle mainBundle] pathForResource:@"Feel" ofType:@"mp3"];
NSURL *fileURL = [[NSURL alloc] initFileURLWithPath:filePath];
AVAudioPlayer *_audioPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:fileURL error:nil];
[_audioPlayer prepareToPlay];
_audioPlayer.numberOfLo...
this is the output i want
"SELECT * FROM wateat_tbl where name like '%love%' or desc like '%love%'";
where *love is a text enterted by use*r
now i want to write this in effective way
right now i am doing this lame code
myStringPrt1=@"SELECT * FROM wateat_tbl where name like '%"
NSString *trimmedString1 = [myStringPrt1 strin...
Hi all,
I'm using following function to get my application notified after the operation in nsoperationqueue has finished, so that I can schedule the task that's dependent upon the result of the operation. I'm using:
- (void)observeValueForKeyPath:(NSString *)keyPath
ofObject:(id)object
ch...