Hey,
I have a scroll view that can be scrolled to the sides (only left and right, not up and down).
I want to play a short sound (less than a second) whenever the scroll view is moved X pixels to either side.
How can this be done? Code samples will be greatly appreciated...
Thanks,
...
Hi,
I'm using ".align 16 \n\t" in some inline ARM assembly that is implementing some loops
to align it on a 16 byte boundary however gcc asm compiler is complaining that alignement
is too large
i want to implement -falign-loops=16 in asm for a particular loop
Thanks
...
Hello everybody,
I am moving my first steps both with url connections and threads so bear with me if the question may result trivial.
Basically I would like to execute an NSUrlConnection in a separate thread (even if this may result 'dangerous' as many documents state). Before deciding whether to adopt this solution or not I should manag...
in connection to one iphone project i need to ask that if i purchase ebooks from webview of iPhone (from with in application) application using paypal mobile check out of paypal () then Apple will approve this app or not ?
do you know any on this by any statement from apple or by personal experience or so ?
please suggest, i am stuck ...
I have the following code
// Breakpoint here
[label removeFromSuperview];
[label release];
label = nil;
stepping through it with the debugger outputs
(gdb) po [self subviews]
<NSCFArray 0x476af70>(
<UIImageView: 0x47581a0; frame = (0 0; 232 81); opaque = NO; autoresize = W+H; userInteractionEnabled = NO; layer = <CALayer: 0x476b3d0>>...
I've got an application that uses a Tab Bar Controller along with a Navigation Controller.But for some pages I want to hide both bars(Tab & navigation) after that those will be visible again...I am able to hide navigation bar & also done with making. it appear after some pages.
I am able to hide tab bar with
- (BOOL)hidesBottomBarWhenPu...
I create the picker:
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera;
imagePicker.delegate = self;
imagePicker.allowsEditing = NO;
[self presentModalViewController:imagePicker animated:YES];
and I handle the didFinishPickingMediaWithInfo:
...
Hi I have spent endless hours trying to solve this but with no luck, please help!
I keep getting this error.
There is no SDK with the name or path 'iphoneos2.0' I am running some templates at
http://appsamuck.com/day1.html
Thanks
Gautam
I'm running the latest sdk, in the pop up menu (simulator) there is an option iPhone Device 2.0 ...
Hi,
I am developing an application that currently has a View Controller (call it ViewControllerX). The MainWindow.xib file contains the following:
File's Owner UIApplication
First Responder UIResponder
AppX App Delegate myAppDelegate
myViewControllerX myViewControllerX
Window ...
When I double click the XIB file in Xcode, Interface Builder typically launches a few different windows, one of which is the View window. For some reason, however, the View window isn't opening for one of my XIB files. If I open any of the other XIB files, however, the View window does open.
I'm not sure if there's a way to manually lau...
I am using the plist to store the data entered in the UITextFields. But, when I restart my application all the data entered previously was deleted. How can I retain the data in the Plist. I have a UITableView and when a cell is touched a view appears with two UITextFields. nameField and descriptionField. I stored the data in this way.
M...
First: No, none of the content should be loaded from the web. All content parts are shipped with the main bundle.
I have n images and mass of text (including lists). Instead of building all view parts programmatically in objective-c if was thinking of using an UIWebView and build "only" the HTML dynamically.
Does anything speaks agains...
I am new to iPhone development. I am converting the date to the desired format and set it to the delegate and get its value in the another view. The session restarts when I tried to get the value from delegate. If I set the original date and not the formatted date in the set delegate, then i able to get the value in the another view. If...
hey all i have a program for inserting new now dynamically in table view. But it displays the inserted row the end.How can i display the inserted row at the first position.
...
I'm trying to simulate the user location animation in MapKit (where-by the user's position is represented by a pulsating blue dot). I've created a custom subclass of MKAnnotationView and in the drawRect method I'm attempting to cycle through a set of colors. Here's a simpler implementation of what I'm doing:
- (void)drawRect:(CGRect)rec...
im sure this is completely simple , infact i'm sure i have already seen the code for this somewhere , i just cant remember for the life of me where.
all i want to do is add the little swirl image thing whilst loading. can anyone point me in the right direction
Thanks
Richard
...
I've got the following code in one of my view controllers:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
switch (indexPath.section) {
case 0: // "days" section tapped
{ DayPicker *dayPicker = [[DayPicker alloc] initWithStyle:UITableViewStylePlain];
dayPicker.rowL...
From the recent news from the Apple, I learned that one has to use C/C++/Objective-C for iPhone App. Accordingly, it's not possible to use MacPython or similar to make iPhone App.
But as the python/ruby interpreter itself is written in C, isn't it OK to make python/ruby interpreter for iPhone to run the scripts on iphone?
Is this poss...
On iPad/iPhone, Do you still need to make an invisible button on background to let users exit entries? Is there a better way to dismiss the keyboard when users click outside of an entry?
...
Objective-C for iPad, Where do you put IBOutlet? In instance variable decleration or @property decleration? Is there a difference at all?
...