To run the example project, clone the repo, and run pod install
from the Example directory first.
APFeedBack is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "APFeedBack"
pod 'APFeedBack', '~> 0.1.4'
- (IBAction)feedback_Push:(id)sender;
{
APFeedTableViewController *fd = [[APFeedTableViewController alloc]init];
fd.developer_LogFile=NO; //To turn feedbacklog.txt on, turn on developer_LogFile = YES
fd.mailHTML=YES;
[self.navigationController pushViewController:fd animated:YES];
}
- (IBAction)feedback_modal:(id)sender
{
APFeedTableViewController *fd = [[APFeedTableViewController alloc]init];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:fd];
navController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentViewController:navController animated:YES completion:nil];
}
//AppDelegate
[[DeviceInfo deviceManager]logfilecreate];
@IBAction func openPushViewController(_ sender: UIButton) {
let fd = APFeedTableViewController()
fd.developer_LogFile = true
fd.mailHTML = true
navigationController?.pushViewController(fd, animated: true)
}
@IBAction func openModalViewController(_ sender: UIButton) {
let fd = APFeedTableViewController()
fd.developer_LogFile = true
fd.mailHTML = true
fd.modalPresentationStyle = .formSheet
present(fd, animated: true, completion: nil)
}
//AppDelegate
DeviceInfo.deviceManager().logfilecreate()
appsyscode, [email protected]
APFeedBack is available under the MIT license. See the LICENSE file for more info.