iphone

is there any way to solve 'com.apple.product-type.framework' issue?

Hi Guys!, I am trying to implement cover flow effect in my application by using objectiveFlickr project, But it shows "target specifies product type 'com.apple.product-type.framework', but there's no such product type for the 'iphonesimulator' platform" error whenever I am going to be run the application. Note: I have includ...

How to pass form values using Jquery Mobile or JQtouch?

Hii friends, i m beginner to jquery and i have to develop a web app for iphone , i choose jquery mobile but i didnt able to pass values to next page, seems its a dummy questions,but any help appreciated? Thanks Guys, ...

UIButton - unwanted background well

I'm creating UIButtons (type = UIButtonTypeCustom) with a custom background drawn by an artist; unfortunately UIButton is adding an unwanted 'well' effect around the backgroundImage (as specified via setBackgroundImage). Is there a way to disable the well? It's not a simple drop shadow, so messing with the CALayer properties doesn't seem...

Is it possible to resize images to specific size?

I have an application which has around 800 images. Is there any way to re size the images to specific size. I have tried using the following code: UIImage *image = [[UIImage imageNamed:recipeObj.recipeImage] _imageScaledToSize:CGSizeMake(64.0f, 61.0f) interpolationQuality:1]; cell.imageView.image = image; This code snippet gives ...

iPhone Online DB Question

Hello, My question deals delivering information to iPhone devices via an online DB. (Essentially, I want to do something like the NYTimes App, which provides the latest news for each device containing the app). I know I need to use a SQL lite database to accomplish this. What is the best way to approach this problem? I am a newbie a...

What to do when my app receives memory warning?

What should I do when my app recieves a memory warning? ...

CoreGraphics Multi-Colored Line

I have the following code the only seems to use the last colour for the whole line..... I want the colour to be changing throughout this. Any ideas? CGContextSetLineWidth(ctx, 1.0); for(int idx = 0; idx < routeGrabInstance.points.count; idx++) { CLLocation* location = [routeGrabInstance.points objec...

how to implement the following style/customize the toolbar in iphone applicaiton?

I want to change my common toolbar style to this style.. http://images.cnblogs.com/cnblogs_com/alexliu/epuber/777.png Transparent toolbar. the round conner at the left and right side. press any of them have the click events. (all of them have already implemented in the old toolbar version.) ...

Is it possible to clear MPMediaItemCollection using codes?

Hello everyone I store all audios to a MPMediaItemCollection. Later, I hope to clear all items in the MpMediaItemCollection. Is it possible to clear MPMediaItemCollection using codes? Thanks interdev ...

How to use CVPixelBufferPool in conjunction with AVAssetWriterInputPixelBufferAdaptor in iphone?

Hi Everybody, I have successfully created video from images using the following code -(void)writeImageAsMovie:(NSArray *)array toPath:(NSString*)path size:(CGSize)size duration:(int)duration { NSError *error = nil; AVAssetWriter *videoWriter = [[AVAssetWriter alloc] initWithURL: [NSURL fileURLWithPath:pat...

Multisampling on iPad

Hi, all ! Is it possible to use multisampling on iPad ? Apple's documentation say: "iOS4.0 and later devices", but all tutorials in inet says: "iPhone XX, IPAD" I can't run my app under 3.2 sdk with multisampling (base sdk 4.1, deployment 3.2) Is it possible ? Thanks, ...

IPhone core data simulator

I've created an app that uses core data. Is there a way to view the sqlite db on the simulator? A tool perhaps that allows to query the sqlite db on the simulator? Like a data browser? Is there a way to browse the iphone simulator to the sqlite db location? ...

subviews and performance issues in iOS

I have different view controllers and i linked them using insertsubview There are atleast three levels of subviews for every screen the users sees. I havent tested it on device yet. I want to know whether this causes any performance issues Also, is using NavigationBarController pop and push views better than addsubview and remove from s...

how to increase the orientation speed for iPad?

hai, I'm using orientation for my application in iPad. i need to increase my orientation speed while i do the orientation(landscape, portrait, portrait upsidedown, landscape left, landscape right). but it little bit slow when orient the view can you please give the solution for my issue. edit: i have two controller landscape and portr...

Parsing XML using libxml2 and Xpath in objective c

Hi, I want to parse an xml file using libxml2 and XPath I have tried to look this up on the internet but I can't find much about it. Can anyone give me a sample code for parsing this xml: <WebServiceResponse> <status>OK</status> <result> <type>sample</type> <name>Sample XML</name> <locati...

Detecting taps in uiimageview inside uiscrollview

Hi I have a UIScrollView with multiple UIImageViews in it created like this. frame = [[UIImageView alloc] initWithImage:bg]; frame.frame = CGRectMake(FRAME_SEPARATOR + numPage*1024 + numColumn*(FRAME_SEPARATOR+230), 10 +numRow*(FRAME_SEPARATOR+145), 230, 145); UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget...

Layering UIViews so that bottom most layer can be seen

I have a UIView to which i add a background image. Then to that view i add a scroll view. To the scroll view i add some UIButtons. I would like to be able to set the scroll view to be transparent (still being able to see the UIButtons) so that i can see the background image underneath it, so that it shows between the buttons. I have t...

How to remove sub view When clicks the UIBar Button in iPhone?

Hi Frieds, I am developing on iPhone application. I have created UIImage view, on clicks the image view, it navigates one custom view and loading a web view. In that view, i had one tool bar and one bar buttons in the tool bar. When clicks the bar button, it removes the custom view. My problem is some time the custom view doesn't remove...

draw line/point on existing UIView without drawRect?

I created line chart. Now I need to display point on this chart when I tap the screen. What would be the best method? Do I need to call drawRect again, draw whole chart with marked point? I'm thinking about something like transparent layer over the chart UIView. Can I create another transparent UIView and put it on the position of my c...

Using MPMusicPlayerController play a MPMediaItemCollection, how to get the event of at end of playing

Hello everyone I used MPMusicPlayerController play a MPMediaItemCollection, how to get the event of at end of playing. Welcome any comment Thanks interdev ...