Hi, I'm trying to create a label with an image behind it. the image is a custom rectangle with rounded corners.
I read about the stretchableImageWithLeftCapWidth: to make sure the corners won't get scaled and about the sizeToFit to enlarge the UILabel frame.
Now the view as a whole: I have a UIView in IB, I added an ImageView with the ...
how can i make call from my application to particular no.
Give me some logic or code for performing this task...
...
Hi All,
Any one has integrated Google's Maps Data api available [here][1] (http://code.google.com/p/gdata-objectivec-client/)
[1]: http://code.google.com/p/gdata-objectivec-client/ with iphone application, if so can you please share the skeleton code to get an head start in my application.
I wann to search some nearby places (for user...
Hi all,
I want develop application for read user information on iPhone
IP Address/ Wi-Fi Address
Network
Version
Serial Number
Latitude (map)
Longitude (map)
what kind of these thing I can read or it can't, please suggest me in your opinion.
Thanks.
...
How do you do in the differing version?
The following pages were read.
http://stackoverflow.com/questions/193182/programmatically-get-own-phone-number-in-iphone-os
...
Hi there. I am trying to do something very simple - getting a 'photo' record for a given pid. I am using:
SELECT pid,aid,owner,src_small,src_small_height,src_small_width,src,src_height,src_width,src_big,src_big_width,src_big_height,link,caption,created,modified,object_id FROM photo WHERE pid = '2622555765931507709'
I always get an emp...
Hi,
I am going to make some practice of mobile development and I guess iphone development is the hottest area for this. Since I am using linux, I am not able to work with Apple iphone SDK. After making some research I found xmlvm which seems so cool for me. It enables us to develop with Java then convert it to native iphone application....
Hello All,
I just updated to iPhone SDK4. The problem I am facing is - I was writing an app in iPhone sdk 3.0 just open that project in xcode 3.2.3 made some changes in xib file, now when i run this project in simulator the user interface (xib) appearing blank (with black color).
Any idea why this is happening...?
Thanks
Saurabh
...
Hello All,
Just upgraded to iPhone sdk4 and getting a lot of errors in my iPhone sdk3.0 projects.
Here are some -
"_OBJC_CLASS_$_NSMutableURLRequest", referenced from:
"_OBJC_CLASS_$_UITabBar", referenced from:
"_OBJC_METACLASS_$_UIViewController", referenced from:
about 66 errors ...
Any idea what is wrong here...
Thanks
S...
Actually i am building a Text Speech reader for which I sucessfullyn implemented but when it read tokens of word so I want my text to highlighted according to the voice as in MS-SAPI
...
I have a mutable array of custom objects. I want to filter that array by attribute of the object, for example myObject.attributeOne.
How can I create the NSPredicate to use with
[myArrayOfObjects filterUsingPredicate:<the_predicate>]
...
Hi everyone
This is really twisting my mind… I'm trying to access an NSMutableArray in an IBAction which I defined in viewDidLoad. Unfortunately I keep getting a EXC_BAD_ACCESS.
I'm new to all this so I'd really appreciate some insight in what I'm doing wrong.
Below find the corresponding code excerpts.
CounterViewController.h:
@in...
Hi All,
I have integrated Facebook connect in my iphone application.
when user clicks on a button i am calling a method which has the following code.
session1 = [[FBSession sessionForApplication:kApiKey secret:kApiSecret delegate:self] retain];
dialog = [[[FBLoginDialog alloc] initWithSession:session1] autorelease];
[dialog show];
w...
Hi, I have UINavigationBar setup as image - some wood texture. I want to insert UISegmentedControl with 4 buttons on that bar. Buttons should have same texture with slightly changed tint.
One solution would be to change tint alpha of buttons background color, sothat texture in background can get trough, but as I set alpha for tint in ...
Hi everyone
I'm trying to put 2 TableViews on a single UIView. I've implemented the methods needed. I've tested the apps with breakpoints and the project fails at this method.
I have 2 tableviews : radios_tv and presets_tv
Two arrays from the delegate from which count is obtained: array_radios and array_presets
array_radios contains 10...
HI,
in my ViewController.m i´ve added a NSNotification in "viewDidLoad" like this:
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(pageControlChanged:)
notificationName:@"ScrollViewDidEnd"
object:nil];
Then i´ve a custom scr...
Please bear with me, this is probably a very simple problem for an expert but I'm new to the language.
I'm trying to create an application that dynamically generates and releases a series of views, which are displayed in the main window. The problem I am having is in swapping between them. I want each view to contain buttons that cause ...
Hi guys
Yesterday I posed the question of why the Apple WWDC 2010 samples for the iPhone camera dont work in the iphone simulator, http://stackoverflow.com/questions/3383928/iphone-video-access-samples
That question was answered promptly.
However as a follow up question I would like to know how to use video frames from a video file that...
Hi all!
I made my own class derived by NSObject, and here is my code:
-(void) parseRow:(NSDictionary*) dictionary {
NSArray* arName = [[dictionary valueForKey:displayname] componentsSeparatedByString:@"+"];
[self setDriverName:[arName objectAtIndex:0]];
[self setDriverSurname:[arName objectAtIndex:1]];
[arName release]; ...
Hi!
I'm generating an image using quartz 2d and I want to use it as an opengl texture.
The tricky part is that I want to use as few bits per pixel as possible, so I'm creating cgContext as following:
int bitsPerComponent = 5;
int bytesPerPixel = 2;
int width = 1024;
int height = 1024;
void* imageData = malloc(width * height * bytesPerP...