Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-06-2010, 07:59 PM   #23 (permalink)
cakesy
Registered Member
 
Join Date: Nov 2008
Posts: 168
cakesy is an unknown quantity at this point
Default

Quote:
Originally Posted by csnplt View Post
How were they able to tell that your code used a private API? You can do that with only public APIs, so how would they know that your app is not using those? Are they tearing apart our submitted apps' binaries, looking for such things?

Here's how you can do that with public apis:
Code:
UIAlertView *myAlertView = [[UIAlertView alloc] initWithTitle:@"Enter your zip code:" message:@"this gets covered by text field" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Search", nil];
	UITextField *myTextField = [[UITextField alloc] init];
	//[myTextField setBackgroundColor:[UIColor whiteColor]];
	myTextField.delegate = self;
	myTextField.opaque = YES;
	myTextField.borderStyle = UITextBorderStyleRoundedRect;
	myTextField.frame = CGRectMake(100, 45, 80, 25.0); //make this bigger if need be. I needed it small
	myTextField.textAlignment = UITextAlignmentCenter;
	myTextField.keyboardType = UIKeyboardTypeNumberPad; //change keyboard type, too
	myTextField.returnKeyType = UIReturnKeyDone;
	[myTextField becomeFirstResponder];
	[myAlertView addSubview:myTextField];
	[myTextField release];
	CGAffineTransform myTransform = CGAffineTransformMakeTranslation(0.0, 130.0);
	[myAlertView setTransform:myTransform];
	[myAlertView show];
	[myAlertView release];
Where have you been for the last month. Yes, they are analysing the binaries we submit for private APIs, not something that is particularly complicated to do.
cakesy is offline   Reply With Quote
 

» Advertisements
» Online Users: 514
8 members and 506 guests
Domele, GHuebner, kasumar, manop_cs, Newbie123, RockBaby, SuperDietGenius, Thompson22
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,446
Threads: 94,031
Posts: 402,605
Top Poster: BrianSlick (7,978)
Welcome to our newest member, larueta13
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:31 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.