Hey all,
I'm trying to create a simple iPhone input device shaped like a disk, ony half of which is viewable on screen. The idea is this disk would be spun, and the selection would be the menu item in the middle when the disk stops spinning. Any idea what the best way of implementing such a thing would be? I'm reading up on Quartz2D and...
I'm trying to understand the difference between using a UINavigationController inside a Nib (via the library window) and subclassing the UINavigationController. (For the purposes of this question, I'm not just specifically referring to a Navigation Controller; I'm referring to any Controller that is contained in the Library window in Int...
Hi Guys
I am developing a local search app in iPhone...after dialing a phone number from a set of phone number searches i am able to make a call to the selected number..Now what i need is a code or a way to check if the call has ended and the app should return to the page from where i selected the number rather than exiting the app whic...
Currently I am doing it like this:
CGRect frameRect = myUIImageView.frame;
CGPoint rectPoint = frameRect.origin;
CGFloat newXPos = rectPoint.x + 10.5f;
landscape.frame = CGRectMake(newXPos, 0.0f, myUIImageView.frame.size.width, landscape.frame.size.height);
it feel that there is a more efficient solution. Maybe by using the center poi...
I get the visibleRect from an UIImageView inside a method, that is called several times to move that view to the right. As soon as it goes partly out of the screen, I expect that the visibleRect becomes smaller. But it does not.
-(IBAction)moveToRight:(id)sender {
CGRect frameRect = myUIImageView.frame; //that's an image I use in ba...
I have a ViewController class where I use some CG____ structures. There is no import for Core Graphics. So I thought that's fine and tried to start using CALayer without importing Quartz framework. It didn't work, and I hat do import it.
I think I missed the point here why I have to import this one, but not the other one?
...
When I try this
myUIImageView.bounds.size.width = 50.0f;
then I get an error: invalid lvalue in assignment
But when I do this, it compiles. Although it's a lot of extra-work
CGRect newRect = myUIImageView.bounds;
newRect.size.width = 50.0f;
myUIImageView.bounds = newRect;
Although that compiles, nothing will happen. My UIImageView...
I am using a UITableView to display a list of cells, when the user selects a cell then a new view appears by using the following code:
- (void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[self.navigationController pushViewController: detailsViewController animated: TRUE];
}
By using the ...
Hi
I am using a navbar and toolbar in my application. One of the screens uses transparent toolbar and navbar which show when the user taps the screen. Everything works great except when I do a popViewController from this view controller.
The toolbar in my previous vc is no longer visible (I can see it if only for a second when the vc i...
Apple says, that all I have to do is to modify the bounds rectangle. Then the content inside the bounds rectangle would be stretched or jard into the frame rectangle.
But when I assign another CGRect with a smaller width to my bounds rectangle, nothing happens. The UIImageView keeps looking exactly the same. No compile errors. I guess t...
I've just enrolled into the program and it's pending. I know there is an top-secret apple forum for enrolled iphone developers, but I wonder if there are any others which are good?
I feel that my problems are too complex and need more discussion that can't be done just in comments.
...
As the background for one of the views in my app, I'd like to draw a fairly simple rectangular border just inside its frame. This would essentially be a rectangular gradient: a black line around the frame, fading to white about 10-20 pixels in. Unfortunately, as far as I can tell, Core Graphics doesn't provide rectangular gradients (eith...
Hi all,
I did a lot of research about this topic and didn't yet find a satisfying answer:
How can I make a scrollable list (iPhone SDK Dashboard List) inside some other html content? If I create a list inside a html body and I try to scroll the whole page is scrolled. I know there is this "double finger" scrolling, but that's not what ...
I'm writing a data collection app for the iPhone, and want to be able to export my data to a file the user can process on their desktop. I'd generate the file in csv or whatever format on the iPhone and then somehow the user would get the file to their desktop. From reading other questions here and on the rest of the web, it seems like...
Hey friends,
I am developing an iPhone app for some sweet undergrad research I've been working on. Sadly, my school doesn't offer software engineering / design classes so when it comes to questions of best practices in OO Design, I do a lot of reading.
My Dilemma:
My application loads a view (v1) where, upon user's button click, v1's ...
I'm using AVAudioPlayer to play sound effects in an iPhone game.
This is part of my code:
AVAudioPlayer *player = [dict objectForKey:@"Player"];
if (player.playing) {
player.currentTime = 0;
} else {
[player play];
}
One sound that can be played repeatedly and very often, since it plays based on user interaction. As the user m...
Hi,
I have to create a dynamic NSArray. That is I dont know the size of the array or what are all the elements the array is going to have. the elements need to be added to the array dynamically. I looked at the NSArray class reference. there is a method called arrayWithObejcts, which should be used at the time of initializing the array ...
Would anyone be able to give a "best practices" summary for creating an app targeted internationally?
How to prepare the app for translations "espanol, english, korean, chinese etc.)
What sort of measures do you need in the approval process? do you submit one APP or is it several?
How to optimize your iTunes store page to work across ...
Hi,
I am wondering what is available to play live video feed on my iPhone, in a developer way.
Few apps exists and play live stream like :
http://qik.com/
http://www.ustream.tv
http://orb.com/en/orblive
Do you have an idea how they achieve this ?
Thanks a lot.
Thierry
...
Hi all,
I have a quick inquiry regarding how and when didReceiveMemoryWarning gets invoked. I completely understand how to properly use the method. My question that I cannot find in documentation however, is whether or not it is my fault for the way I'm managing my memory footprint for this method being invoked?
Is it possible that I'm...