我現在使用上遇到一個狀況,是就 PSMultiValueSpecifier 的屬性,當使用者點擊之後,並不會出現並不會出現 Child Menu ,就是另外一個 Table View ,讓使用來選擇,我是使用 Storyboard 來做,我的程式碼如下:
.h
代碼:
#import "IASKAppSettingsViewController.h" *interface View_Setup : IASKAppSettingsViewController<IASKSettingsDelegate, UIAlertViewDelegate> *end
代碼:
#import "View_Setup.h" #import "IASKSpecifier.h" #import "AppDelegate.h" *interface View_Setup () { AppDelegate *appDelegate_; } *property(nonatomic, strong)UIActivityIndicatorView *actIndicator; *end *implementation View_Setup *synthesize actIndicator; - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; if (self) { // Custom initialization } return self; } - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. self.delegate = self; appDelegate_ = (AppDelegate*)[UIApplication sharedApplication].delegate; } -(void)viewDidUnload { [self setActIndicator:nil]; [super viewDidUnload]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (void)settingsViewControllerDidEnd:(IASKAppSettingsViewController*)sender { // [self dismissViewControllerAnimated:YES completion:nil]; } *end
謝謝您。
代痔大条咯!!PSS SIM塞不进BlackBerry!!
5 小時前 進 iPhone 疑難雜症發問區