iphone

How to open appStore from web link?

I'm able to open my appStore page a click event on a UIButton that has an IBAction associated, similar this: - (IBAction) BuyFullAlbum { NSString *iTunesLink = @"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=..."; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]]; ...

AES128 iphone encryption matches until the very end

I'm trying to encrypt data to be transferred back and fourth between a server but I can't seem to get the right output in objective-c: (full code here: http://pastebin.com/zPdHxShu) // 128-bit key, CBC mode // ------------------------ // IV = '1234567890123456' // (hex: 31323334353637383930313233343536) // Key = '123456789012345...

Is there an equivilent of jQTouch that covers iPhone, Android, WebOS and Blackberry OS?

I am about to start writing a web app for the latest smartphones using HTML5, CSS3 and JavaScript. I don’t need a framework so much as a library like jQuery. I looked at jQTouch which is great for iPhone and apparently has support coming for Android too but I am looking to cover Blackberry device Software v4.6 upwards and WebOS 5 as wel...

iOS Universal Application: the Minimum OS Version is Different than the Deployment Target

I'm developing a universal iOS application and I set the deployment target to any version before 3.2. However, when it is compiled and I go to install it on an older device, xcode won't install it because version 3.2 is being required. The info.plist generated confirms that the minimum os version is being set 3.2. Why is this? I have a...

XCode doesn't recognize UI Class UITextChecker

I am writing an app for my iPad running 3.2.2 with XCode 3.2.3. It seems that the highest version of the iOS for iPad this version of XCode has is 3.2, but other apps load fine onto the phone so this doesn't seem to be an issue. I am attempting to make use of the new UITextChecker class. I have imported UIKit, and UITextChecker.h appe...

Filling an NSMutableArray with a Set of Classes and Then Getting them Back

Hi, Hopefully I can make this clear, but I am new to Objective-C and to be honest not great with Arrays in the first place. So, I have a Singleton class (called SingletonState) that I am using to pass variables around my app (please can we leave the whether I should use Singleton classes out of this - I will fix that later). In this c...

XCode to show warnings on new methods not available on older targets?

Is there any way to get XCode to toss a warning out if a method may not be available on an older version? For example, my app might have a deployment target of 3.0, but a supported SDK of up to 4.0. That means that I might use methods that can be used on 4.0, but definitely aren't available when running on a 3.0 device. ...

Disable some cell on Setting Bundle

Hi , is there any way to disable a cell on setting bundle ? like iPhone setting when user turn on airplane mode the phone section will off or disable ! how ? i have PSToggleSwitchSpecifier too like that . ...

UINavigationBar with OpenFlow horizontal usage problem

He There, I tried to use OpenFlow in my project. Actually, I have a problem with It, when I tried to use UINavigationController and OpenFlow together on same UIViewController (Actually just create a navigation based project), It is only working vertical orientation, when I try to change device orientation to horizontal, It is going to b...

Twitter Authentication OAuth or XAuth

I am trying to integrate Twitter into my application. My basic requirement is to have custom login screen and as twitter requires only OAuth. As per Twitter documentation I found these MGTwitterEngine(Downloaded but its missing entire OAuth library, hence could not compile) bengottlieb(cannot customize login as it is web based) XAuthT...

How to limited the UIScrollView Scroll width?

I want the UIScrollView scroll 50 px each time, how can I limited it? thank you. ...

Deploying iphone apps on device for testing purpose

I want my peers or family friends to test my apps for feedback before I deploy it on appstore. Is there some way that I could install it directly from my machine? Thanks ...

How new of a Mac do I need for iPhone / iPad dev?

So apparently if I want to try my hand at iPhone/iPad dev I need a mac computer. But I'm cheap, and don't think dropping $1000 on an MacBook just to try iPhone development. SO I'm fishing through Craigslist and eBay and pawn shops looking for second-hand-ers, all the while wondering, how old is too old for iPhone dev? In particular, I'...

Jump to next controller with UINavigationController on iPhone

The program has a nav bar and normally when clicking a button in viewController1 it goes to viewController2. when clicking a button in viewController2 it goes to viewController3. and the user can navigate back from viewController3 to viewController2 then to viewController1 using the back button in the navigation bar. I want to make a bu...

resize cell.UIImageView.image

i have the different image with the different size too, i want to put it in cell.imageView.image in every cell, but i want make same size in every cell although the image have the different size, i write this on my code : UIImage *image = [UIImage imageNamed:imageName]; cell.imageView.image = image; cell.imageView.layer.masksToB...

Can you help me understand what Cocoa is?

I have spent a lot of time getting into iOS development. I have spent a lot of time familiarizing myself with objective-c as well as xcode. I have spent a lot of time going through the motions without understanding the fundamentals of what Cocoa is. I haven't grown up my entire life understanding coding concepts as some people have, and...

How does a textfield cause a tableview to automatically scroll up when it slides up: how will this affect current insets and animations?

For most of my table view cells, I select a cell and a UIPickerView, added to the view of a UINavigationController, slide up from some offscreen position. I hit the done button in the navigation bar and the whole thing goes away nicely. I also automatically scroll the table view so the selected cell ends up right above the picker view u...

pickerview for iphone that looks like country select feature

I want to create a picker that looks and works like the country select field of itune store account. Here is what I am talking about. http://i38.tinypic.com/5p0w91.jpg This picker doesn't have a row highlighted. It has "correct" sign marked in front of selected row. user can scroll this picker and then select the row so "correct" sign ...

Object with +0 retain counts returned to caller where a +1 (owning) retaincount is expected

Hi, I have a set of classes that were created by www.sudzc.com (awesome WDSL web service proxy creation tool for iPhone/Flex/Javascript). When I run the CMD+SHIFT+A to check for memory leaks I get the following message: Object with +0 retain counts returned to caller where a +1 (owning) retain count is expected Here is the m...

Send String to webserver in iOS?

I want to send a String (a long String, it's about 600 characters) to webserver (PHP webserver). Can i use NSURLRequest and NSURLConnection to send it to my PHP webserver? ...