Changeset cef53d8 in orbit for iOS/Orbit/Orbit/controllers


Ignore:
Timestamp:
08/29/13 05:42:03 (9 years ago)
Author:
Steve Castellotti <sc@…>
Branches:
master, Servo, Tab_Interface, pyramid
Children:
65d1bd8
Parents:
4a56cfb
Message:

Support:

  • working on local contact form
File:
1 edited

Legend:

Unmodified
Added
Removed
  • iOS/Orbit/Orbit/controllers/SupportViewController.m

    rd31bab4 rcef53d8  
    2828} 
    2929 
     30#define BASEURL [NSURL fileURLWithPath:[[NSBundle mainBundle] bundlePath]] 
    3031- (void) loadSupportSite 
    3132{ 
    3233//    [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString: @"http://puzzlebox.info/forums/forumdisplay.php?fid=4"]]]; 
    33     [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString: @"http://orbit.puzzlebox.info/contact"]]]; 
     34//    [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString: @"http://orbit.puzzlebox.info/contact"]]]; 
     35 
     36    
     37   NSString *urlAddress = [[NSBundle mainBundle] pathForResource:@"support" ofType:@"html"]; 
     38    
     39   NSURL *url = [NSURL fileURLWithPath:urlAddress]; 
     40   NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; 
     41   [webView loadRequest:requestObj]; 
     42    
     43    
    3444} 
    3545 
Note: See TracChangeset for help on using the changeset viewer.